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 drop down selection based on URL

  1. I'm trying to make a review submit form and instead of building separate form for each product I want to make one form with drop down to select purchased item and email customers link to this form. But I want to have their product already selected in drop down. Is there any way to do that in URL (get method) mysite.com/?myNumber=1&myFruit=orange ?

    Posted 12 years ago on Monday May 16, 2011 | Permalink
  2. Yes, you can pre-select a drop down via the query string.

    - Edit the drop down field
    - Select the Advanced tab
    - Check the "Allow field to be populated dynamically" checkbox
    - Give it a parameter name (parameter is what is used in the querystring, so if you wanted to pass myFruit=orange to the form the parameter name you would use would be myFruit)
    - Save your form

    Now when you link to the page containing the form if you pass that parameter name to it in the query string and give it a value equal to one of the drop down choices, it will be pre-selected.

    Please note parameters are case sensitive. So if you use myFruit it won't accept myfruit.

    Posted 12 years ago on Monday May 16, 2011 | Permalink
  3. Brilliant. Thank You. It works

    Posted 12 years ago on Monday May 16, 2011 | Permalink

This topic has been resolved and has been closed to new replies.