Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPField.Required property

Gets or sets a Boolean value that determines whether users must enter a value for the field on New and Edit forms.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableAttribute]
public bool Required { get; set; }

Property value

Type: System.Boolean
true if the field requires values; otherwise, false.
ExceptionCondition
NotSupportedException

The list that the field belongs to is an external list.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.