共用方式為


SP.List.validationFormula Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the data validation criteria for a list item.

var value = SP.List.get_validationFormula(); 
SP.List.set_validationFormula(value);

Property Value

Type: String

Applies To

SP.List Class

Remarks

It must not be null. Its length must be equal to or less than 1023.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace