DHTMLX Docs & Samples Explorer

enableLiveValidation (state)

sets the mode when validation should be invoked just after an input goes out of focus.

myForm.enableLiveValidation(true);

Parameters:

  • state - (boolean) defines whether the validation should be invoked just after an input goes out of focus (true) or when the submit button is clicked (false)

See also: