Hey! I have a form inside a modal, and on form submission, it displays a confirmation message. I’m using AJAX as to not reload the page. I want users to be able to reload the form after submitting it, but I don’t want them to have to refresh the page. How can I accomplish this programmatically without a plugin? Is there a specific hook I could use to maybe save the form to or retrieve from storage, or would this need to be 100% custom? Thanks in advance!
So I got it almost working – I have the form being saved to sessionStorage, and I have a script on "gform_confirmation_loaded"
that retrieves it from sessionStorage. The only thing not working correctly is validation. Is there a hook I can use to reload the scripts after form submission so validation works again?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.