Log in

Gravity Perks - Reload Form

Gravity Perks - Reload Form 2.0.2

Download Gravity Perks - Reload Form 2.0.2. Useful in situations where you would like to allow multiple form submission without refreshing
What does it do?
The Reload Form perk 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.

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!

How do I enable this functionality?
There are two steps for setting up this functionality for your form.

  1. Make sure your form is AJAX-enabled. For instructions on embedding your Gravity Form and enabling AJAX for your form, read here.
  2. Include the {reload_form} merge tag in your confirmation message wherever you would like the reload link to appear.
The {reload_form} merge tag is available in the Confirmation Message’s Insert Merge Tag dropdown field. Open the dropdown and you will find the “Reload Form Link” option under the “Custom” option group. Selecting this option will automatically insert the {reload_form} merge tag into the Confirmation Message textarea.
Author
Eduard
Views
185
Last update
Rating
0.00 star(s) 0 ratings

More resources from Eduard

Latest updates

  1. 2.0.2

    Updated priority of init script registration to allow other plugins to modify the form before...
  2. 2.0

    Added support for Gravity Forms 2.5 (#6) Improved compatibility with dynamic forms by returning...
  3. 1.1.18

    - Fixed issue where {reload_form} merge tag was not visible in the Confirmation Message merge...