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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <select> changes according to previous choices

    Hi experts
    I have got three <select> boxes. The subjects in the boxes changes according to the choices the user makes in the previous <select> boxes. That seems to work all right up till now. My problem is as follows:
    - Is ‘Choice 1’ chosen from the first <select>, the user automatically needs to continue to box two and three. – But if ‘Choice 2’ is chosen from the first <select> the second <select> has to be ignored and the user is send directly to the third <select> box to make the last choice.
    Can this be done, and how? I’m not that experienced at JavaScript, so please keep it simple ..

    If it helps, take a look at my testform here

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why not give just one choice for #2?
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <select>

    I imagined that when the user chose the option from the first <select> that brings him/her directly to the third box, the second box would say ‘-No choice-‘ or something similar. That way the user wouldn’t get confused when there’re suddenly no options in the second <select> box. Do you see what I mean?

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I know what you are asking for. Can you answer my question? What's wrong with just giving them only one choice in the 2nd select?
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #5
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <select>

    Well, I want the options in the third <select> to change automatically according to the changes made in the second box, which again have changed accordingly, to the first box. What I mean is if I do what you suggest, can I make the options in third box change accordingly to that one choice that the user are given here? If so, that might be what I’m looking for ..
    Have you seen my script?


  •  

    Posting Permissions

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