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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.