Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Default Element (Field)

Default Element (List - Field)

Windows SharePoint Services 3

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

  • Sets the default value for a field.


<Default>
</Default>

Attribute

Description

None

N/A

Minimum: 0

Maximum: 1

The following example provides descriptive text and sets the default value of the FavoriteColor field to black.

<Field Type="Text" Name="FavoriteColor">
  <Description>Enter your favorite color here. If you don’t have a 
    favorite color, enter "Black".
  </Description>
  <Default>Black</Default>
</Field>
Show:
© 2015 Microsoft