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?
| SitePoint Sponsor |
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!


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.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
Originally Posted by xylar
I think this is a terrible idea though, unless you manage to provide some other form of feedback when the label/checkbox is activated.Code:<input type="checkbox" name="choices" value="1" id="choice1" style="visibility:hidden;"/> <label for="choice1">Choice 1</label>
thanks!
yes i am trying to change the text color when the checkbox is active
http://www.sitepoint.com/forums/showthread.php?t=435327
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