Hi,
When you turn on the FF reset button, it only works BEFORE you submit the form. If you happened to come back to the form, the reset button does not work :(
FYI. I'm populating the fields via PHP session variables. So the form fields are always populated anytime the user views the form. My use case, the form is a Search Criteria form.
Anyway, I need to have the reset/clear button work anytime a user clicks the button.
Thinking I only need:
assuming 2nd options is easier :)
but where do I put the javascript call via the click of the reset button?
wondering if anyone has done this OR could help point me in the right direction
THANK YOU!
Larry
Hi Larry,
Have you tried this: https://formidableforms.com/knowledgebase/javascript-examples/#kb-reset-form
oh my... that was easy (easier) thank you!
I use browser local storage for search criteria persistence. See this form: https://formidable-masterminds.com/developers-directory/. You can toggle persistence on and off. Examine how local storage works on the storage tab of your browser's inspection tool. All the source code is on the page. Copy it and use it if you'd like.
thanks Victor, but Chris's suggestion did the trick 🙂
Please login or Register to submit your answer