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

SPField.ValidationEcmaScript property

Gets an ECMAScript function that corresponds to the field’s validation formula.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public string ValidationEcmaScript { get; }

Property value

Type: System.String
Returns a string containing the ECMAScript function.

If no validation formula is set, the ValidationEcmaScript property gets a default script that returns true.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.