Preview submission or review page for your gravity forms (Free solution)

You know Gravity Forms is a great tool to design many kinds of dynamic forms for your website. Sometimes your clients need a review page before form submission. You can buy a plugin like Gravity Perks. But if you need a free solutions here is it:

  1. Open the functions.php of your theme. I strongly suggest you to create a child theme first and change the functions.php file in child foler.
  2. Add this code:

add_filter( 'gform_review_page', 'add_review_page', 10, 3 );
function add_review_page( $review_page, $form, $entry ) {

// Enable the review page
$review_page['is_enabled'] = true;

if ( $entry ) {
// Populate the review page.
$review_page['content'] = GFCommon::replace_variables( '{all_fields}', $form, $entry );
}

return $review_page;
}

You can find full documentation here.

You can buy Gravity Forms here or use free verson on GitHub.

Leave a Comment