Pages: 1
Print
Author Topic: Limit selection in drop down menu based on previous dropdown.  (Read 2567 times)
joe.hopkins
Member

Posts: 26


« on: August 23, 2012, 09:28:57 AM »

Is it possible in form builder to limit the options in a drop down menu based on the previous menu or some other parameter or is a javascript customization necessary?

For example if the first drop down menu is State and the next is City, then when the user selects the state only cities within that state should show up. See attached image for example.

Thanks You.


* cascadingMenu.png (6.75 KB, 500x222 - viewed 532 times.)
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: August 23, 2012, 12:37:33 PM »

This would require scripting (JavaScript or whatever you set the XFT up to use).
You might attach a database source to the form to make things a little easier to manage (rather than hard coding lists for example) but populating the second dropdown would still require script to decide which items to populate with based on the first dropdown's selection.
Logged
Pages: 1
Print
Jump to: