SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    multichoice form

    hi

    i would like to have a checkbox form, but i dont want to display the checkbox graphic (I'm using labels so the user can click the text). Is there a way to do this?
    Last edited by xylar; Nov 3, 2006 at 15:09. Reason: title spelling error!

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What exactly do you want to do? Replace the checkbox with a solid color for the checkbox, or with an image, or something else?

    Understand that what you want to do may potentially inhibit the usability of your form.

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by xylar
    hi

    i would like to have a checkbox form, but i dont want to display the checkbox graphic (I'm using labels so the user can click the text). Is there a way to do this?
    Code:
    <input type="checkbox" name="choices" value="1" id="choice1" style="visibility:hidden;"/>
    <label for="choice1">Choice 1</label>
    I think this is a terrible idea though, unless you manage to provide some other form of feedback when the label/checkbox is activated.

  4. #4
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks!

    yes i am trying to change the text color when the checkbox is active

    http://www.sitepoint.com/forums/showthread.php?t=435327

  5. #5
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why would you want to change something that nearly every user is familiar with? A checkbox is well known on the web so you are going to seriously affect the usability of the site not to mention that by using JavaScript your accessibility will be out the window.

    It's ok to try new and innovative ideas but sometimes you've just got to think that people are used to doing things a certain way and should consider what the advantages are of removing checkboxes?


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
  •