Method | Description | |
---|---|---|
Rules ( string action, |
Adds or removes the specified rules to the first matched element. Requires that the parent form has been validated prior to the call.
|
|
Valid ( ) : bool |
Checks whether the selected form is valid or whether all selected elements are valid.
|
|
Validate ( ) : |
Validates the selected form.
|
|
Validate ( |
Validates the selected form.
|
Method | Description | |
---|---|---|
GetRules ( ) : |
||
RemoveAttributes ( string attributes ) : string | ||
jQueryValidationObject ( ) : System |
public Rules ( string action, |
||
action | string | The action to perform. Should be 'add' or 'remove' |
rules | The rules to add or remove to the specified element. | |
return |
public Validate ( |
||
options | The validation options | |
return |