共用方式為


SP.Field.required Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the field requires a value.

var value = SP.Field.get_required(); 
SP.Field.set_required(value);

Property Value

Type: Boolean

Applies To

SP.Field Class

Exceptions

See Also

Reference

SP.Field Methods

SP.Field Properties

SP Namespace