I have a case where I need to reset a form after successfully submitting, but without page refresh
Is there any way to reach the requirement? Or any way to handle this edge-case?
I have a case where I need to reset a form after successfully submitting, but without page refresh
Is there any way to reach the requirement? Or any way to handle this edge-case?
Yes, using custom JS.
It’s a bit of a mission if you need to detect a successful submit prior to the reset.
!important
or by removing the display: none styling applied by webflow.jsHey there!
I just made a really easy solution which makes this possible - simply add in the script & an attribute to a button or link inside of your success state, and you’ll be able to reset the form.
Hope this helps!