SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2003
    Location
    Domnican Republic.
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation How can i show fields

    Hi, i'm making a form and i have a hiddenfild but i don't know how to make it appear when i select a radiobutton... can someone help me plz.
    ?
    thanks

  2. #2
    This is all Mumbo Jumbo Amit's Avatar
    Join Date
    Oct 2001
    Location
    New Delhi, India
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In the radio button tag use something ...

    <input .. onchange='document.form_name.field_name.style.visibility='visible'" >

    If this doesn't work, please post how you have made the hidden field ...

  3. #3
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mimelfisc,

    Is your field hidden becuase it is of type "hidden", such as:

    <input type="hidden" name="hidden_field" value="someValue"/>

    Or is it hidden by styling, such as:

    <input type="text" name="hidden_field" style="visibility:hidden"/>

    ???
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





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
  •