removes "data incorrect" highlighting from invalid text fields
{
view:"button", value:"Clear Validation",
click:function(){
$$('form1').clearValidation();
}
}
The function removes highlighting from fields with failed validation. This is done for convenience means so that users can continue filling in the form without annoying red. It doesn't cancel validation rules.