Skip to main content
Skip table of contents

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 :

    TYPESCRIPT
    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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.