- sharebidsAsked on August 26, 2012 at 12:30 PM
I'm looking to provide a dropdown where the user selects a state, which will limit choices in a second dropdown to only those cities within a state. Other option would be to include (in the first option table) header selections of state with sub-selections of city. Only problem is that I don't want the users to chose the state level.
How can I accomplish either of these?
This is a re-post of a comment on Smart Forms Using Conditional Logic
- gori-mathewAnswered on August 26, 2012 at 01:01 PM
Find our response for your questions on the post above;
Dropdown where the user selects a state, which will limit choices in a second dropdown to only those cities within a state
Yes, this is possible. You need to create customized Drop Down and include the states that you only need to appear. You can find Drop Down feature under Form Tools are shown on the screenshot below;
Ther option would be to include (in the first option table) header selections of state with sub-selections of city
Yes, you can create dropdowns that depend on other dropdowns. This can be accomplished using "Conditions" feature on JotForm Form Builder.
Here is the example form that can illustrate how this works out:
To create this form, I first created three dropdown questions on the Form Builder. Then I clicked on "Conditions" button at the top under the "Setup & Share" tab.
Then I created two conditions for each region:
Here is the conditions:
SHOW Northeast Cities field. When "Region" Equals To "Northeast"
SHOW Northwest Cities field. When "Region" Equals To "Northwest"
You can also view the below link for more details;
JotForm conditions are very flexible. Please give it a try and let me know if you need any further help.
- sharebidsAnswered on September 02, 2012 at 12:29 PM
So in order to have city selections for 50 states, I need to produce 50 subset city menus? Seems a bit cumbersome, but I think I understand.
Next question: By providing the form data back to my website, I now would have 50 different columns (for each city dropdown) that I'd like to avoid. Is there a way to concatonate those fields into a single field without using open html and using jot form functionality?
And if open html is my only option, what is the open html to make that happen?
- jeanettebmzAnswered on September 02, 2012 at 01:28 PM