DHTMLX Docs & Samples Explorer

updateValues ()

Updates values of inputs.

The onChange event is invoked from input's onblur. When the user enters a text into an input and press a button on toolbar (save, for example) onblur is called later than button's event. As a result, myForm.getFormData() or myForm.getItemValue() will return the old value. In such a case you can call updateValues() before getFormData/getItemValue.

myForm.updateValues()

Parameters:

  • none

See also: