PDA

View Full Version : Selection in one menu changes anothers value?


Nathon Jones
06-04-2009, 06:54 AM
Hi. Is it possible to have the selection made by a user from one drop-down menu affect the value/selection in another drop-down menu?

I have Region and Country and, when the user chooses a region I'd like the Country menu to change to the correct country. I have regions and countries tables in my database with the appropriate field, but I just can't see past the "lists" examples given in the WebAssist documentation.

Also, I'm a bit confused about Child/Parent selections. When someone's completing an address form, they are going to enter Region before Country but the way I've read the documentation, and I agree with it, the Country is the Parent and Region the Child.

So, in effect, I'm kinda need the reverse of what the documentation describes. I want the Child selection to affect the Parent.

Hope someone, let's face it, it's gonna be Ray! :o) , can shed some light on that for me. Thanks.
Nathon.

Ray Borduin
06-04-2009, 09:39 AM
You can use the parent as the child and the child as the parent in your scenario. It will work the same way.