action - action(action, [event])
Called when user clicks form's button.
change - change(field1, field2, ...)
Trigger change event for the specified field
clear - clear([field1, field2, ...])
Clears entire form or specified fields.
Shows a context confirmation dialog for the form
disable - disable(field1, field2, ...)
Disables fields in a form.
enable - enable(field1, field2, ...)
Enables fields in a form.
Display error message.
Generate HTML template for simple forms (Internal method).
get - get([field], [returnIndex])
Finds and returns the field object or its index.
Compares current record object to original and returns difference.
Returns clean record object
Returns the current value of a given field.
Opens specified form page.
hide - hide(field1, field2, ...)
Hides fields in a form.
lock - lock(message, [showSpinner])
Locks the form and displays a status message.
Locks an individual page in the form and displays a status message.
Shows a context message for the form
Reloads record data and refreshes the form.
request - request([postData], [callBack])
Reloads record data and refreshes the form.
save - save([postData], [callBack])
Submits record data to remote data source for saving.
Extends field object with obj.
Sets a new value of a given field.
show - show(field1, field2, ...)
Shows fields in a form.
Show errors of the form
submit - submit([postData], [callBack])
Submits record data to remote data source for saving.
Toggles the collapsed state of a form's group.
Unlocks the form.
Unlocks an individual page in the form.
Hides empty groups, shows non empty groups
Performs form validation.
Destroys the widget and removes it from the global w2ui object
off - off(type, [handler])
Removes event listener from the object.
Adds event listener to a object.
Refreshes the widget or a specific part of it
Renders the widget into the specified HTML element
Resizes the widget to fit its container
Executes all event listeners added with on() method.
Unmounts the widget and cleans up resources