What is the HTML checkbox convention to mean "either true or false"?
-
I'm designing a UI where the HTML checkbox is not used for input, but for selecting whether some criteria are selected or not. Therefore, the checkbox could be checked for true, or unchecked for false. However, I'd like an option "for either true or false" or "don't care." With standard HTML, I beliveĀ the only way to do this to enable/disable the checkbox using another checkbox, Is it feasible to use a single checkbox to have the 3 options?
-
Answer:
Maybe you could use a tri-state checkbox. For example see http://shamsmi.blogspot.com/2008/12/tri-state-checkbox-using-javascript.html.
Jarmo Dee at Quora Visit the source
Other answers
:D As you say check boxes are designed for conditional true or false.. to get more options you can use drop downs or you can design your own widget with JavaScript...
Manoj Hl
Related Q & A:
- What is the HTML code to make your web more accurate?Best solution by Yahoo! Answers
- What's the cheapest way to ship for either USPS, UPS, or FedEx?Best solution by Yahoo! Answers
- What's the HTML code for a scroll box on top of a picture?Best solution by Yahoo! Answers
- What are the html symbols for a solid cross & upside down solid cross?Best solution by Yahoo! Answers
- What's the HTML code for?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.