What does it do?
This plugin provides an easy method for previewing your forms as they will appear on the live site. No longer do you need to create a new post, configure the Gravity Forms shortcode, and publish the page to see how the form will look on the frontend. Just click the handy Live Preview option in your Gravity Forms toolbar.
Gravity Forms Live Preview also provides several features that make testing your forms a breeze and debugging almost enjoyable.
- Preview forms on the live site.
Stop wasting time setting up pages to see how your forms will look on the live site. One-click preview link right on the Gravity Forms toolbar.
- Unrequire required fields.
Save time testing your Gravity Forms by making required fields optional in preview (also skips reCAPTCHA).
- Preview with AJAX enabled.
Gravity Forms’ default preview doesn’t support AJAX. Live Preview supports AJAX out-of-the-box.
- Debug hidden fields.
Show all hidden fields in your form without having to remove classes or change field types. Makes debugging a breeze.
- Disable notifications.
Stop notifications from sending when the form is submitted from a preview.
- Speed up Gravity Form development time.
Working with Gravity Forms a lot? This perk is guaranteed to save you a ton of time.
- Seamless, easy-to-use UI.
Integrates directly with the Gravity Forms toolbar. A single click activates the preview.
- Automatic updates.
Get updates and latest features right in your dashboard.
- Awesome support.
We’re here to help! And we mean it.
- How do I enable this functionality?
- Feature Details
How do I enable this functionality?
After installing and activating Gravity Forms Live Preview, a new Live Preview option will appear when hovering over the Gravity Forms Preview button. Check that option to switch the Preview mode to Live Preview.
Live Preview Options
By default, Live Preview will provide a preview of your form on the frontend of your website. Live Preview provides several additional options to customize how your form preview will be displayed and function.
Select Enable AJAX to load your form with AJAX enabled.
There are several types of “hidden” fields in Gravity Forms. You have the actual Hidden field type, the Hidden Product field type, and also the ability to hide fields via the Custom CSS Class field setting via the
gf_invisible CSS Ready Classes.
Select Show Hidden to make your hidden fields visible in preview. Working with hidden fields can be tricky. This feature allows you to readily confirm that a hidden field is populated with the expected value. And now you’ll save hours of debugging time.
Filling out field after required field can rot your brain. Save a huge amount of time by automatically unrequiring required fields. The field will still appear required on the frontend; however, on submission, the required validation will be ignored. This means you can leave any field blank and only fill out the fields you are currently testing.
An added bonus! Live Preview also bypasses reCAPTCHA.
If you’ve ever tested multi-page forms, you know how much of a chore it can be to have to click through every page. While splitting up a form into multiple pages is a relief for your users, your mouse finger can become quite tired when it’s the 30th time you’ve tested the form.
Use the Single Page option to consolidate the pages into a single form for testing purposes.
Prevent your inbox from blowing up with notifications by disabling them when the the form is submitted through the preview. This is especially useful if you have notifications set to send to multiple recipients.
Support for Core Preview Link
Live Preview adds the Enable AJAX, Show Hidden and Unrequire options to the core Preview Link as well. These options work exactly as they do in Live Preview. The only difference is that they will be enabled for the core Preview page.
Why doesn’t the preview match my site’s theme?
Live Preview uses the Page template
page.php to display the live preview. If your theme’s Page template doesn’t output
the_post(), the preview will not match your site’s theme.
In order to resolve this, you have two options:
- Edit the
page.phptemplate in your site’s theme to output the standard
the_post()inside the HTML of the page.
- Specify the page template to use with Live Preview using the gplp_preview_template hook.