Last active
June 10, 2021 00:43
-
-
Save jetsloth/5219e8e57ec06ae719e38ed0fc6363e6 to your computer and use it in GitHub Desktop.
Using gform_format_option_label together with Image Choices
This file contains 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
<script type="text/javascript"> | |
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) { | |
// Update any of the variables to format, Eg; | |
// priceLabel = ""; | |
return window.gform_format_option_label_original(fullLabel, fieldLabel, priceLabel, selectedPrice, price, formId, fieldId, index); | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment