SP.Field.validationFormula Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies the data validation criteria for the value of the field.
var value = SP.Field.get_validationFormula();
SP.Field.set_validationFormula(value);
Property Value
Type: String
Applies To
Exceptions
- SPException
FieldTypeKind is not one of the following: Text, Number, Integer, Currency, Choice, or DateTime. Error code: -2146232832.