Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using gform_format_option_label together with Image Choices
<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