validationFail

fires when validation of a form fails

void validationFail(string id,object component){ ... };

Parameters

idstringthe id of a control
componentobjectthe object of a control

Example

form.events.on("ValidationFail", function(id,component){
    // your code here
});

Related samples

Back to top