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.
![](../__attachments/32702465/image-20231219-112340.png?inst-v=1a90f070-fe26-41dc-931e-98c768b55d69)
in your newly created customAction component, write the code :
TYPESCRIPTevent.target.reset();
![](../__attachments/32702465/image-20231220-125549.png?inst-v=1a90f070-fe26-41dc-931e-98c768b55d69)
![](../__attachments/32702465/reset_form_inputs-20231219-111703.gif?inst-v=1a90f070-fe26-41dc-931e-98c768b55d69)
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