We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Make a checkbox look like a radio button

kevlause
kevlause asked
on
Medium Priority
438 Views
Last Modified: 2012-06-21
I don't think I can but is there anyway to make a checkbox look like a radio button? Our marketing guy doesn't understand why we need to use checkboxes instead of radio buttons if we just "tell the user to select more than one". He likes the looks of a radio button better. Is there anything you can do with CSS or anything? I guess I could do a bunch of radio buttons with a script to uncheck them, but I'd rather not.
Comment
Watch Question

Commented:
use input type="image" ? maybe ?
you would need to change the image source onclick and some more trickery to get it to function the way you want ... but i seriously think the argument for not using check boxes is rather silly. but it looks like you might be stuck with that ...

i can't think of any easy way of changing the look of an input of type="checkboix" ... your best best might be to do like you mentioned ... and script radio buttons

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
That's kind of what I thought but I't's always good to double check...
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.