gotrgf_show_zero_total [JS]

Updated 17 September 2023

On this page

Description

This hook can be used to display the total even though it is 0.

Parameters

show_total | Bool

form_id | Int

type | string – either side or field id

Return

Boolean. Return true to show the total

Usage

Copy the below code to a HTML field inside your form

<script type="text/javascript">
gform.addFilter('gotrgf_show_zero_total', function() { return true; } );
</script>

Since

version 1.1.9

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top