Gravity Perks – Reload Form 1.1.17

Gravity Perks - WordPress Plugin

Release Date: Oct 22, 2018 | Gravity Perks – Reload Form allows you to include a special link in your AJAX-enabled form’s confirmation message which, when clicked, will reload the form to allow additional submissions without a page refresh. It also provides the ability to automatically reload the form after a specified number of seconds. I would strongly advised checking out the demo of this functionality to better understand the different pieces referenced in the rest of this documentation.

Reload the form following an AJAX submission. Useful in situations where you would like to allow multiple form submission with refreshing the page.

Demo

How does it work?

When the form is initially loaded, a copy of the original form HTML is stored in a Javascript variable. After the form is submitted and the special reload link in the confirmation message is clicked, the stored form HTML is used to replace the confirmation message and reload the form. Now the form is ready to be submitted again!