Check documentation for the latest version of dhtmlxSuite updateValues DHTMLX Docs

updateValues

updates the inputs' values

void updateValues();

Example

myForm.updateValues();

Details

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

Back to top