Skip to main content

Timeline for Boolean switch with a third state

Current License: CC BY-SA 4.0

16 events
when toggle format what by license comment
Oct 14 at 14:09 history edited user67467 CC BY-SA 4.0
deleted 101 characters in body
Oct 11 at 19:25 history edited user67467 CC BY-SA 4.0
added 113 characters in body
Oct 11 at 19:19 history edited user67467 CC BY-SA 4.0
added 84 characters in body
May 22, 2017 at 9:28 history edited user67467 CC BY-SA 3.0
added 276 characters in body
May 20, 2017 at 21:23 comment added daboross @theonlygusti ah thank you for reminding me of that, I had read the question but I missed that the OP specifically wanted a single "third option". I'd still propose to OP the question of why only three options, but your comment definitely makes it clear why the answers are this way. Thanks!
May 20, 2017 at 21:03 comment added daboross I would say this doesn't indicate that there are non-Male/Female genders in the system at all. Using something like this, I could easily read through all "Male" entries, then all "Female" entries, then totally miss others. What about Male, Female, Other and Any being 4 options?
May 19, 2017 at 22:55 comment added Paul To me it makes more sense to put Any as first option. If the page has let's say 10 filter options, then all of them could have Any as first button and they would have the same horizontal position. So you can easily see which filter options you have changed from the default option Any.
May 18, 2017 at 17:37 comment added IMSoP @ShreyasTripathy Who says the UI will allow you to not pick any option? If the default is "Any", then that option should be selected by default. The already selected option should be read only (clicking it does nothing). This is the principle behind any sane implementation of radio buttons. If there is no default, then at least one click is required by definition, and submitting without selecting an option would be an immediate "input validation failed" message.
May 18, 2017 at 12:21 comment added Shreyas Tripathy @JonH - The third state, in effect, is a virtual state. If I explicitly give "Any" or "Doesn't matter" as an option, the user will forced to pick (thus introducing an unnecessary click) one of them for the query to work. A filter always cleans up the information already present which should happen by default. If I don't pick any options from control mentioned by theonlygusti (which isn't incorrect), the resulting set would become NULL. I hope that clears things up.
May 17, 2017 at 20:52 comment added JonH I really can't understand why the op could even ask this question. I mean even in the question he says there's three states so why would you even bother with two radio buttons. got a total of three radio buttons male female or any. This is the answer
May 17, 2017 at 10:27 history edited user67467 CC BY-SA 3.0
added 24 characters in body
S May 16, 2017 at 11:37 history suggested xDaizu CC BY-SA 3.0
Removed unnecesary note with a negative vote impact in an otherwise good answer.
May 16, 2017 at 10:11 review Suggested edits
S May 16, 2017 at 11:37
May 15, 2017 at 18:35 history edited user67467 CC BY-SA 3.0
deleted 28 characters in body
May 15, 2017 at 18:23 history edited user67467 CC BY-SA 3.0
added 73 characters in body
May 15, 2017 at 12:16 history answered user67467 CC BY-SA 3.0