Skip to content

Instantly share code, notes, and snippets.

@jetsloth
Created April 8, 2020 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jetsloth/301d0183ca85c8479bc4ca0b8b97e637 to your computer and use it in GitHub Desktop.
Save jetsloth/301d0183ca85c8479bc4ca0b8b97e637 to your computer and use it in GitHub Desktop.
Remove the + from gform_format_option_label
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