gotrgf_show_zero_total [JS]

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

Scroll to Top