Reset state of form controls

Is there a way to reset the state of controls on a form? Here is the situation:

Person tries to log into app, but they haven’t created an account. So they click on the ‘create acct’ button and go to another form, fill out the form and save. They are returned to the login page - right now, their previous data is still displayed in the fields. Can this be blanked out aside from setting all the control text/values to “” (very tedious)?

Use Form1.reset() for this.

1 Like

This will work for most simple controls. More complex controls, such as the ones in jqWidgets, will need more intervention.