gotrgf_display_loading_animation [JS]

Updated 14 September 2026

On this page

Description

This filter decides whether the summary is dimmed with a loading animation while it updates. Since v2.2 the animation is off by default, because only the lines that changed are repainted. Return true to turn the animation back on.

Parameters

enableAnimation | Bool. Defaults to false

formId | Int

Return

Bool

Usage

Copy the below code to a HTML field inside your form (wrapped in script tags) or use the Code chest plugin.

<script type="text/javascript">
if ( typeof gform !== "undefined" ) {
    gform.addFilter( 'gotrgf_display_loading_animation', function( enableAnimation, formId ) {
        return true; // Turn the loading animation on for all forms.
    } );
}
</script>

Since

version 2.0.13

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top