w2form.request

Reloads record data and refreshes the form.
request([postData], [callBack])
postData object, Map of additional parameter to submit to remote data source (optional)
callBack function, call back function when form is reloaded (optional)
Returns undefined.

Description

This method should only be called if the data source is remote (the .url and .recid properties are defined). If the data source is local - no action will be performed. You can also use .reload() method to reload the form data.
There are several events associated with this method: .onRequest and .onLoad.
If you have following form: You can do:

User Comments

comments powered by Disqus