SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Aug 1999
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm building a form, here's what I would like to happen:

    The user has to choose between 2 radio buttons. If he chooses 1, it's chosen and nothing else happens, he can continue down the form. If he chooses 2, I want 2 text boxes to be activated where he can enter in 2 different dates.

    Can anyone point me in the right direction of this source code!? Thanks!

    JG

    ------------------
    Tres Dai'lla - Coffeemade Productions!
    Webmaster/Producer/Artist
    http://coffeemade.bombspot.com
    tresstylez@hotmail.com


  2. #2
    ********* Addict DLG_1's Avatar
    Join Date
    Jun 2000
    Location
    Texas, USA
    Posts
    596
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this can only be done using IE5+


    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
    &lt;INPUT TYPE="button" NAME="myButton" VALUE="Submit" DISABLED&gt;

    This attribute can be attached to any &lt;INPUT&gt; tag. It disables the specified form element (it cannot be clicked). Note that this attribute is currently only supported by Internet Explorer 4.0x and above. A
    disabled form element can be enabled via JavaScript:

    document.formName.elementName.disabled = false;


    [/code]


    HOPE THIS helps.




    Sam


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
  •