gotrgf_add_scripts_to_confirmation

Updated 14 September 2026

On this page

Description

After a form is submitted, the plugin adds a small script to the confirmation that removes the summary from the page. Return false to keep the summary there.

A form specific variant exists as well: add _FORMID to the hook name, for example gotrgf_add_scripts_to_confirmation_3 for form 3.

Parameters

$remove | Bool. True by default

$form | Array. The Gravity Forms form object

Return

Bool

Usage

Copy the below code to the functions.php of your child theme or to your snippet plugin.

<?php
add_filter( "gotrgf_add_scripts_to_confirmation", "__return_false" );

Since

version 1.1

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top