Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

Default Element (List - Field)

Windows SharePoint Services 3
  • 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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.