clearValidation

removes all validation rules from an input

void clearValidation(string name, [string value] );

Parameters

namestringthe name of an item
valuestringthe value of an item (for a radio button)

Example

//for a radio button
myForm.clearValidation(name, value);
 
//for other items
myForm.clearValidation(name);

Back to top