Page 1 of 1

Working with dropdown

Posted: Thu Sep 03, 2015 9:18 pm
by mujib
I want to filter the options to display in the second dropdown list ('city') based on selected value from previous dropdown ('state') instead of displaying all 'cities' options. So that only the cities of selected state will be popup.

How can I do this in nuBuilderPro?
How do I capture the id of 'state' (first dropdown)?

Thanks in advance
Mujib

Re: Working with dropdown

Posted: Fri Sep 04, 2015 2:37 am
by admin
mujib,

The simplest way is by using a Lookup instead of a Dropdown, because a Lookup uses a Form and that Form can be filtered using Hash Variables from the Edit Form you are on.
city1.PNG
An even better way is create a Form that links State and City and just use 1 Lookup to choose both. (A Lookup used properly is so much easier to use than 2 dropdowns)
And if you want to store city and state in different fields you can by using Update Other Fields.
city2.PNG
Steven

Re: Working with dropdown

Posted: Fri Sep 04, 2015 4:15 pm
by mujib
Thanks a lot Mr. Steven.

Re: Working with dropdown

Posted: Mon Sep 07, 2015 8:09 am
by admin
.