Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing a selection list based on input from a previous selection list.

    I'm building a form that will be used in a number of different countries. I would like to set it up so that when the user selects his country, another selection list would be added. For example, if he chooses USA, a list of states should be added...if he chooses Canada, a list of provinces would be added. What is the most straight forward way of doing this?

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Lots of material online for this one:
    http://www.devarticles.com/c/a/JavaS...s-Client-Side/
    http://webreference.com/dev/menus/intro2.html

    You can use the ideas between these two links to do what you want (if you're placing the country information in a database that is. otherwise the second link should suffice).

    I also came across this site in my search:
    http://arctic.ithium.net/fr1.contact.html

    It does basically what you want, just has a third select (continent).

    Hope that helps,
    Sadiq.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •