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.

Change Option price based on Product selection.

  1. I am populating my product options based on the script used on this page: http://www.gravityhelp.com/forums/topic/dynamically-populating-gravity-forms-using-checkbox-fields

    The code works great, but I would like to change the values of the options based on the Product dropdown selection.

    Example:
    Client checks multiple options on Form A
    Form B received information and dynamically populates OPTIONS checkboxes.

    /* So far so good */

    There are 3 products in a dropdown (values $10, $20, $30). Based on the user selection of the product...

    ...the value of the populated options will update.

    Any help is appreciated.

    Posted 11 years ago on Friday July 27, 2012 | Permalink
  2. Sounds like you would have to use conditional logic to apply a different set of options to your product. Differently priced options to apply to different products. Would that work?

    Can you post a link to your form with an explanation of how you expect it to work. Thank you.

    Posted 11 years ago on Sunday July 29, 2012 | Permalink
  3. Here is the code: http://pastebin.com/mCdstJfg
    The site link is this one (it has the dynamic information on the link): http://www.eregisteratrademark.com/payment/?cName=&cLast=&selected_options=001+-+Chemicals,%20010+-+Medical+Apparatus,%20016+-+Paper+Goods+%26amp%3B+Printed+Matter

    I want to change the category price ($305) to the correct price based on the product they select from the dropdown. (e.g. Basic = 305 per item, Premium = 499 per item & Extended = 699.)

    Posted 11 years ago on Monday September 17, 2012 | Permalink
  4. I know it has to be something with a jquery, but I am lost. Any suggestions are appreciated.

    Posted 11 years ago on Thursday September 20, 2012 | Permalink