updates the inputs' values
myForm.updateValues();
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