BLACK FRIDAY SALE

SAVE 30% NOW!

0 days
0 hours
0 minutes
0 seconds

gotrls_display_option_price [JS]

Description

This filter can be used to display prices for option fields that are set to select type. By default the prices are removed but by using this snippet you can display them in the summary next to the label.

Parameters

includeOptionPrice | Bool

FormId | Int

FieldId | Int

Return

Bool

Usage

/**
 * Example to turn on option prices for all fields in any form
 * Instructions:
 * Copy the below code to a HTML field or better yet use the GW custom Javascript plugin
 */
gform.addFilter("gotrls_display_option_price", function(includeOptionPrice , formId, fieldId) {
	return true;
});

Since

version 2.0.4

Scroll to Top