Property | Type | Description | |
---|---|---|---|
AddClassRules | void | ||
AddClassRules | void | ||
AddMethod | void | ||
AddMethod | void | ||
Format | string | ||
GetInvalidFieldCount | int | ||
SetDefaults | void | ||
ValidateElement | bool | ||
ValidateElement | bool | ||
ValidateForm | bool | ||
jQueryValidator | System |
Method | Description | |
---|---|---|
Optional ( |
Checks if the current element is optional.
|
|
ResetForm ( ) : void |
Resets the controlled form
|
|
ShowErrors ( System.Collections.JsDictionary errors ) : void |
Shows the specified errors messages.
|
Method | Description | |
---|---|---|
AddClassRules ( System.Collections.JsDictionary rules ) : void | ||
AddClassRules ( string name, System.Collections.JsDictionary rules ) : void | ||
AddMethod ( string name, jQueryValidationMethod callback ) : void | ||
AddMethod ( string name, jQueryValidationMethod callback, string message ) : void | ||
Format ( string template ) : string | ||
GetInvalidFieldCount ( ) : int | ||
SetDefaults ( |
||
ValidateElement ( |
||
ValidateElement ( jQueryObject element ) : bool | ||
ValidateForm ( ) : bool | ||
jQueryValidator ( ) : System |
public static Optional ( |
||
element | The element to validate | |
return | bool |
public ShowErrors ( System.Collections.JsDictionary errors ) : void | ||
errors | System.Collections.JsDictionary | Key/value pairs of error messages, where the keys relate to names of elements in the form, and /// the values are the error messages to display for those elements. |
return | void |