PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

help to display label on product options

  1. jjcool
    Member

    Hello,

    I am using this function to try and format my labels on a multi-page form with products and product options. There are five products and three options for each product. The form is five pages long.

    function gform_format_option_label(fullLabel, fieldLabel, priceLabel, selectedPrice, price, formId, fieldId){
          var zLabel =  fieldLabel + ' +$' + price;
          return zLabel;
    }

    This gives me the Label and the price that I want, but the price repeats three times.
    How can I avoid the multiple prices?

    What I am trying to do is to override the default behavior that changes the option pricing dynamically next to the option when you select the option.

    Thank you for any help you can offer.

    Posted 11 years ago on Monday February 11, 2013 | Permalink
  2. Can you share a link to the page on your site where this form will be visible? We'd like to take a look at how you have implemented this.

    Posted 11 years ago on Thursday February 14, 2013 | Permalink