/
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: GitHub - convertigo/c8oprj-sample-form-submit: How to programatically reset form inputs data and control submit response Ready to be imported in your Convertigo Studio

(c) Convertigo 2023 https://www.convertigo.com