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.

Allow field to be populated dynamically

  1. Scott
    Member

    I am creating a form that allows a user to select their business category. Once they select their category, they can select many different options related to that category. Here is my issue.

    1) A user fills out the for and selects the business category "Automotive"

    2) They are next faced with a series of drop down menus allowing them to select different promotional options. The pricing for each option is dependent on the category.

    Instead of having them select their category for each option, is it possible for me to pass the industry they selected onto the next field and if they select that they want to include that option, the price is automatically displayed without them having to select their industry again?

    I have played with this and cannot figure it out. I tried passing the parameter name but not entirely sure how this works. Where is this set? I have searched the forums and cannot find an answer.

    If someone could list this for me, I would really appreciate it. A step by step would be great!

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink
  2. Scott can you post the data you're using so I can get an idea of how it should work? Maybe three categories from the first select, then for each of those categories, an example of how the rest should work.

    Would it be like:

    Choose your make of car:

    • Chevy
    • Dodge
    • Ford

    Then based on that choice, it sort of branches off into:

    [Chevy]

    • Blazer
    • Corsica
    • Malibu

    [Dodge]

    • Dakota
    • Dart
    • Duster
    • Ram
    • Viper

    [Ford]

    • Escort
    • 500

    Or is it more complex than that?

    You mentioned "series of drop downs" and I am having a hard time envisioning the use case. Please share more details. Thanks.

    Posted 12 years ago on Thursday August 4, 2011 | Permalink
  3. Scott
    Member

    Here are some additional details:

    Question 1 - Choose Your Industry

    Automotive
    Children
    Enertainment

    2) Would You like to add a featured Listing?

    Yes
    No

    IF YES

    Please Select Industry Category

    Automotive - $10
    Children - $15
    Enertainment - $25

    3) Would You Like A Bold Listing?

    Yes
    No

    IF YES

    Please Select Industry Category

    Automotive - $3
    Children - $5
    Enertainment - $2

    What I want to do is remove the additional step of having them select their industry for each option. I want their industry to carry over so it only displays the industry they have selected in Step 1. This way, I can just ask them if they want the option and the price will be added. We have over 10 different options available for them o choose.

    Posted 12 years ago on Thursday August 4, 2011 | Permalink
  4. Are you using the PayPal Add-on or will you just be creating the form here and collecting the money separately? I'm thinking about the best way to handle it.

    From this thread, it sounds like you're using the PayPal Add-on:
    http://www.gravityhelp.com/forums/topic/pricing-option

    Looks like you have about 15 industries and then there will be the same 10 options for each industry, but each option will be priced differently based on the industry?

    Posted 12 years ago on Thursday August 4, 2011 | Permalink