Updated 14 September 2026
On this page
Description
With the price breakdown mode “labels + prices, hide zero amounts”, options that do not change the price show no amount. This filter shows a placeholder such as “included” instead.
Parameters
placeholder | String. Empty by default
price | Number. The price, 0
formId | Int
fieldId | Int. The option field
Return
String
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_zero_price_placeholder', function( placeholder, price, formId, fieldId ) {
return 'included';
} );
}
</script>
Since
version 2.2.0
Didn’t find what you were looking for?
Or contact support and I will help you out.
