Created
April 8, 2020 00:57
-
-
Save jetsloth/301d0183ca85c8479bc4ca0b8b97e637 to your computer and use it in GitHub Desktop.
Remove the + from gform_format_option_label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.gform_format_option_label_original = window.gform_format_option_label; | |
window.gform_format_option_label = function(fullLabel, fieldLabel, priceLabel, selectedPrice, price, formId, fieldId, index){ | |
fullLabel = fullLabel.replace('+$', '$'); | |
priceLabel = priceLabel.replace('+$', '$'); | |
return window.gform_format_option_label_original(fullLabel, fieldLabel, priceLabel, selectedPrice, price, formId, fieldId, index); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment