Radio Buttons Direct to certain URLs - Enable/Disable features based on selections

Discussion in 'JavaScript' started by scanreg, Apr 15, 2007.

  1. #1
    My form needs to (1) direct to specified URLs based on a combination of form selections and (2) enable/disable form features based on selections within the form

    FORM

    Radio 1
    - A
    - B
    - C

    Select Box 1
    - 1
    - 2
    - 3

    Combo selected and target URL

    A1 - www.fred1.com
    A2 - www.fred2.com
    A3 - www.fred3.com
    B1 - www.fred4.com
    B2 - www.fred5.com
    B3 - www.fred6.com
    C1 - www.fred7.com
    C2 - www.fred8.com
    C3 - www.fred9.com

    Text boxes ("enter data")
    box1
    box2
    box3
    box4
    box5

    Radio 2
    - X
    - Y
    - Z

    If combination A1, B1, or C1 is selected, then all the text boxes and Radio 2 are Enabled, but if A2, B2, C2, A3, B3, or C3 is selected, then the text boxes and Radio 2 are Enabled.

    /FORM

    My form is actually a little more complex than this, but this gives the basic idea.

    Any ideas most appreciated - Thanks :)
     
    scanreg, Apr 15, 2007 IP