w2form.onLoad

Called when server returns record data.
onLoad = function(event)
This event is triggered after server returns record data. If you want to add an event before data is requested, see .onRequest event. These two events are called when the form requests data from the server, not when user clicks the save button.
You can add event listener during the object creation: or after the object has been created: The event handler is called before the default action of the event is triggered. You can cancel the default action by calling event.preventDefault(). To perform an action after the event is fully processed, define event.onComplete function.
See events page in utilities for more details.

User Comments

comments powered by Disqus