Results 1 to 2 of 2

Thread: Help Disable And Enable Form

  1. #1
    Join Date
    Jul 2007
    Posts
    59
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Help Disable And Enable Form

    I have form about Initial name
    like Mr. Ms. Mrs. and The other about 20 of it
    and i want to use radio button if i click on the other the dropdown menu will enable for i choose the 20 more but if i didn't it will disable

    Thank you

  2. #2
    Join Date
    Oct 2006
    Location
    Shanghai, China
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    That can't be done with HTML.

    I think you'll need to use JavaScript.

    Something like this:

    Code:
    <input type=radio name=initial_name onselect("document.write('<input type=text name=twenty_more />')") />
    Now, my JS is about as good as my spanish, which is to say awful, but you get the idea, right?

Bookmarks

Posting Permissions

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