SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Philippines
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you hide a check box?

    Hi All,

    Is there a way to hide a Text entry field?

    Thanks a lot in advance.

    jozin

  2. #2
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Philippines
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to hide a Text entry field?

    Correction please,

    The titles should be:

    How to hide a Text entry field:

    jozin

  3. #3
    SitePoint Zealot loupblanc's Avatar
    Join Date
    Nov 2004
    Location
    Edinburgh
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ummm, I'm not sure what you mean by "hide". Do you mean permanently or temporarily?

    At the moment, the simplest way I can think of is
    Code:
    <input type="hidden" name="fieldname" value="fieldvalue" />
    Cheers

    -Jean-Loup

  4. #4
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Madison, WI
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <input type="text" name="fieldname" style="visibility:hidden;display:none;" />

  5. #5
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Philippines
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi guys,

    Thanks a lot for the tip.

    jozin

  6. #6
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    something like this...
    HTML Code:
    <input type="text" name="hey" style="display:none;position:absolute;">
    so it wont make a space that u dont want!
    cheers


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
  •