gotrls_mobile_bar_text [JS]

Updated 16 September 2026

On this page

Description

Changes the text of the bar at the bottom of the screen on mobile devices. The text is an object with a primary line and a secondary line, filled in according to the Bar text setting of the form. The primary line is the total, the number of answered fields on forms without pricing fields, or the “View summary” text with “View summary” only. The secondary line holds the number of items or answered fields and the “View summary” text, separated by a dot; it can be empty.

Parameters

text | Object. { primary, secondary }

formId | Int

Return

Object. { primary, secondary }

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( 'gotrls_mobile_bar_text', function( text, formId ) {
        text.secondary = 'Tap to check your order';
        return text;
    } );
}
</script>

Since

version 2.2.0

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top