Gravity Wiz

Magically enhanced tutorials, snippets and plugins for Gravity Forms!

  • Gravity Perks
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    • Documentation
    • Support
    • Account

Gravity Forms Reload Form

Include a special link in your AJAX-enabled form’s confirmation message that will reload the form to allow additional submissions without a page refresh!

This plugin is part of Gravity Perks, a suite of 32+ essential Gravity Forms addons with support you can count on.

  • View All Perks
  • Buy Gravity Perks

What does it do?

This plugin 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.

Features

  • Reload form after submission.
    Users can make multiple submissions without a page refresh.
  • Automatic reload.
    Reload the form automatically after a specified delay.
  • Customizable link text.
    Easily alter link text using merge tag modifier.
  • Integrates with Populate Anything and Easy Passthrough.
    Dynamically populated values stay up-to-date with latest submission.
  • Automatic updates.
    Get updates and the latest features right in your dashboard.
  • Awesome support.
    We’re here to help! And we mean it.

Documentation

  1. How do I enable this functionality?
  2. Feature Details
    1. Reload Form Merge Tag
    2. Automatically Reloading Your Form
    3. Dynamically Populated Fields
  3. FAQs
    1. How do I disable the dynamic population integration?
  4. Hooks
  5. Related Articles

How do I enable this functionality?

After installing and activating Gravity Forms Reload Form, follow these steps to add a Reload Form link to your form’s Confirmation Message.

Add a form to a page with AJAX enabled. For instructions on how to embed your form with AJAX, refer to Gravity Forms documentation.
Include the {reload_form} merge tag in your confirmation message wherever you would like the reload link to appear.

With the merge tag in place, the Reload Form link will automatically be generated and inserted into your Confirmation Message. When a user clicks the link, the form will reload, and they can submit a new entry!

Feature Details

Reload Form Merge Tag

The {reload_form} merge tag is available in the Confirmation Message’s Insert Merge Tag drop down field. Open the drop down 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.

gp-reload-form-merge-tagReload Form Merge Tag

Once inserted, you will notice that the merge tag includes some additional text: Your Link Text. Update this text to whatever you would like the reload link to display.

Default {reload_form:Your Link Text}
Customized {reload_form:Submit Another Request}

Automatically Reloading Your Form

It is also possible to automatically reload your form after a specified number of seconds have passed. To enable this functionality, navigation to your form settings and scroll down until you come to the GP Reload Form section.

gp-reload-form-auto-reload-settingReload Form Form Settings

Click Automatically Reload Form option to enable this functionality. Then, specify how many seconds should elapse before the form is automatically reloaded.

Dynamically Populated Fields

If your form contains fields that populate values using Populate Anything or Easy Passthrough, the values in those fields will automatically update when the form reloads.

For example, if you have Easy Passthrough configured to populate the most recent entry into the form, GF Reload form will honor that population on form reload, ensuring the fields are populated with the latest data.

FAQs

How do I disable the dynamic population integration?

To prevent GF Reload Form from dynamically reloading field values and instead reload the form with blank field values, use the gprf_disable_dynamic_reload hook.

Hooks

  • gprf_disable_dynamic_reload
  • gprf_replacing_elem
Gravity Forms has hundreds of hooks. Check out our Gravity Forms Hook Reference for the most thorough guide to Gravity Forms’ many actions and filters.

Related Articles

  • How to automatically reload a Gravity Form when a modal is closed

Perk Deets

  • Version 2.0.2
  • Updated October 6, 2020
  • Released October 14, 2013
  • View Changelog

Changelog

2.0.2

  • Updated priority of init script registration to allow other plugins to modify the form before Reload Form registers its scripts.
  • Added gprf_replacing_elem filter to allow modifying which element is replaced with the original form markup when the form is reloaded.

2.0-beta-1.2

  • Fixed an issue where a page with multiple forms that use GPRF may not function correctly.

2.0-beta-1.1

  • Fixed incorrect $_path which causes a myriad of issues with perk-specific functionality.

2.0-beta-1.0

  • Updated Perk to use GP_Plugin class provided by Gravity Perks 2.0.
  • Added 'gprf_disable_dynamic_reload' filter to disable dynamic reload of form markup and rely on the form markup on the initial page load.
  • Improved confirmation message to include new form markup which should improve compatibility with Perks such as GP Easy Passthrough.

2.0.1

  • Added gprf_replacing_elem filter to allow modifying which element is replaced with the original form markup when the form is reloaded.

2.0

  • Added support for Gravity Forms 2.5 (#6)
  • Improved compatibility with dynamic forms by returning freshly generated form markup when the form is submitted.
  • Added 'gprf_disable_dynamic_reload' filter to disable dynamic reload of form markup and rely on the form markup on the initial page load.
  • Updated Perk to use GP_Plugin class provided by Gravity Perks 2.0.
  • Fixed an issue where a page with multiple forms that use GPRF may not function correctly.
  • Fixed incorrect $_path which causes a myriad of issues with perk-specific functionality.

1.1.18

  • Fixed issue where {reload_form} merge tag was not visible in the Confirmation Message merge tag selector in Gravity Forms 2.5. (#2)
  • Updated plugin author.

1.1.17

  • Improved consistency of gform_post_render with Gravity Forms core usage.

1.1.16

  • Added support for queueing merge tag script in the footer.

1.1.15

  • Removed extraneous tooltip link

1.1.14

  • Added support for multiple {reload_form} merge tags in the confirmation.
  • Added support for Cyrillic characters in the {reload_form} merge tag.

1.1.13

  • Updated confirmation element to avoid nesting inside the confirmation wrapper.

1.1.12

  • Added support for reloading form at any point after the form has been loaded.
  • Fixed issue where spinner was not re-initialized when the form was reloaded.

1.1.11

  • Updated GP_Reload_Form::is_applicable_form() to check for invalid form objects

1.1.10

  • Updated perk to use GP_Bootstrap

1.1.9

  • Fixed issue where Enhanced UI fields did not reload correctly

1.1.8

  • Fixed issue where form was not reloaded due to incorrect class name

1.1.7

  • Fixed issue where GF character counter was added multiple times on submission
  • Updated script to only fire gform_post_render once; causing miscellaneous issues

1.1.6

  • Updated scripts to be loaded in external file (rather than inline)

1.1.5

  • Updated gwrf object storage from form wrapper to form wrapper parent since on confirmation, form wrapper is not present

1.1.4

  • Added support for not auto-reloading when the "Save and Continue Confirmation" is displayed

1.1.3

  • Added support for accessing the gwrf object via the form wrapper

1.1.2

  • Fixed issue where auto-reload did not work unless the {reload_form} merge tag was in one of the confirmations
  • Fixed issue where {reload_form} merge tag was no longer available in merge tag list

1.1.1

  • Fixed issue where script-based functionality was not reinitialized when the form was reloaded

1.1

  • Added support for auto-reloading form by a # of seconds

All Perks

  • GF Auto Login
  • GF Better User Activation
  • GF Blacklist
  • GF Conditional Logic Dates
  • GF Conditional Pricing
  • GF Copy Cat
  • GF Date Time Calculator
  • GF Disable Entry Creation
  • GF Easy Passthrough
  • GF eCommerce Fields
  • GF Email Users
  • GF Expand Textareas
  • GF File Upload Pro
  • GF Limit Checkboxes
  • GF Limit Choices
  • GF Limit Dates
  • GF Limit Submissions
  • GF Live Preview
  • GF Media Library
  • GF Multi-Page Navigation
  • GF Nested Forms
  • GF Pay Per Word
  • GF PayPal One-time Fee
  • GF Placeholder
  • GF Populate Anything
  • GF Post Content Merge Tags
  • GF Preview Submission
  • GF Price Range
  • GF Read Only
  • GF Reload Form
  • GF Terms Of Service
  • GF Unique ID
  • GF Word Count

Copyright © 2021 · Powered by WordPress · Gravity Wiz LLC

  • Support
  • Affiliates
  • About
  • Sitemap
  • Gravity Perks
    ▼
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    ▼
    • Documentation
    • Support
    • Account