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
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Working with dropdown
Re: Working with dropdown
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.
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.
Steven
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.
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.
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2
- Joined: Thu Sep 03, 2015 7:03 pm