52 users online (1 members and 51 guests)  


  Results 1 to 5 of 5

Related

  1. enable and disable submit button    Forum: PHP Forum
    Replies: 1
  2. Replies: 3
  3. submit button enable and disable    Forum: PHP Forum
    Replies: 1
  4. Replies: 1
  5. Replies: 1
  1. #1
    scanreg's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    6

    Disable/Enable form features based on form selections

    My form needs to enable/disable certain features based on selections made within the form

    For instance:

    FORM

    Radio button (select color)
    Red
    Blue
    Green

    Text boxes (enter data)
    box1
    box2
    box3
    box4
    box5

    If "Red" is selected in the radio element, then all the text boxes are Disabled, but if "Blue" or "Green" are selected, then the text boxes are Enabled.

    /FORM

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

    Any ideas on this? Would be most cool. Thanks

  2. #2
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Disable/Enable form features based on form selections

    Here is an example. If that doesn't quite cover what you're trying to do, Google for more examples.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  3. #3
    scanreg's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    6

    Re: Disable/Enable form features based on form selections

    Ah, going to dig into this, thanks so much

  4. #4
    scanreg's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    6

    Re: Disable/Enable form features based on form selections

    Would you be interested in a javascript job that I have? It's more than mentioned in this thread, but I can provide all the details and stuff. I REALLY need this javascript work done. Thanks

  5. #5
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: Disable/Enable form features based on form selections

    Hi there scanreg,
    Would you be interested in a javascript job that I have? It's more than mentioned in this thread, but I can provide all the details and stuff.
    Well, you never know your luck.
    Post the full details and see what happens.