enableLiveValidation

sets the mode when validation is invoked just after an input goes out of focus

void enableLiveValidation(boolean state);

Parameters

statebooleantrue/false

Example

myForm.enableLiveValidation(true);

Details

pass "true" if validation should be invoked just after an input goes out of focus and "false" - to invoke validation after the submit button has been clicked

Back to top