Table Of Contents
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;
});