How to programatically reset Form inputs after Submit?
Convertigo Public Knowledge base
How to programatically reset Form inputs after Submit?
If you wish to reset form inputs after the onSubmit event, do the following:
Add a customAction component under the onSubmit event of your Form.
in your newly created customAction component, write the code :
event.target.reset();
You may have a look at the sample project here: https://github.com/convertigo/c8oprj-sample-form-submit Ready to be imported in your Convertigo Studio
, multiple selections available,
Related content
How to control Sequence response after submitting a form
How to control Sequence response after submitting a form
More like this
How to use automatic Form Inputs generation from a Back End Sequence?
How to use automatic Form Inputs generation from a Back End Sequence?
More like this
How to pass data parameters to a Sequence on onSubmit event of a form?
How to pass data parameters to a Sequence on onSubmit event of a form?
More like this
How to get forms element value from onSubmit event?
How to get forms element value from onSubmit event?
More like this
Use Form component with SharedComponents Inputs
Use Form component with SharedComponents Inputs
More like this
Code to ClearDataSource and RootPage
Code to ClearDataSource and RootPage
More like this
(c) Convertigo 2023 https://www.convertigo.com