- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
So the correct layout is
[ ] Yes [ ] No [*] HTML spec is retarded.
Admin
Admin
Or you can use another form control to select whether the radio buttons are active at all, for example by having them expandable/collapsible (or some other way of enabling/disabling them) if the value to be returned by them is not mandatory. IIRC it is not only HTML that treats radio buttons this way.
Admin
Goodness me. The ex lead singer of Herman's Hermits is still contributing to this site?
Admin
Admin
Admin
Think of the radio buttons as depicting an enum. The whole of the buttons list is the declaration of the enum, the one selected button denotes the value. If you ever had an enum where a variable is supposed to have the value "none of the values in the range" you have designed your enum wrongly.
Or if you prefer thinking in database terms, the radio button list was designed with a NOT NULL DEFAULT (1) kind of restriction. Does that make sense?
Or if you prefer thinking in HTML terms, in your reasoning all radio button lists should have an extra radio button saying "deselect all the radio buttons in this list". Yes? Else, how are you going to undo a selection you inadvertently made?
Admin
Not sure that a fairly simple copy-paste bug really is a WTF - a child passport is £49, an adult £77.50. Pretty shoddy testing though.
Of course, if it did let you buy an adult passport for £49, then we're in WTF-land...
Admin
If the return value of a radio list is optional, just add (for example) a checkbox to enable and disable, or show and hide, the radio button list. If some value is required, just have a sensible default option (FILE_NOT_FOUND?).
This is pretty basic stuff, really. Maybe whoever designed the page in the OP was defining a new radio list for each option, or something. Maybe it was untested generated code, or some framework that creates content requiring a particular browser to be rendered correctly.
Admin
Admin
Admin
Admin
"Testing", you say.
Clearly you are unfamiliar with the combinations that are possible from the list:
:-)
Admin
Further, to make a distinction based on semantics does not change the effect of discrimination.
Admin
Admin
Admin
Huh? It's just March 16th 1649, the birthday of Jean de Brébeuf, a Canadian martyr. Probably the person who programmed this was a Canadian and was looking for a date way back in the past. In Holland e.g. they often take (1-1-)1753, being the founding year of one of the biggest cofeecompanies in Holland: Douwe Egberts (Sarah Lee). This year is depicted on all coffeecups from the coffemachine.
Admin
Admin
You can also be a peaceful homicide just killing people with sleeping pills instead of smashing their head with a hammer.
Mother in law, be warned !!! ;-)
Admin
Actually, you can copy most (some?) Windows dialog box texts with CTRL+C. You don't have to select anything.
Admin
Admin
You can copy windows dialogue boxes with CTRL-C-tic-tac-toe.
Admin
TRWTF is you, sir.
And GUIs, and mac osX and VB and stuff.. but mostly you.
Admin
You sir .. win the internetz today . congrats.
Admin
I class "no testing" to be a sub-set of "shoddy testing" ;)
Admin
Admin
No, your keyboard or eyes must be defective - its a "£" sign.
Admin
Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby Tar Baby
Admin
Ha ha - german keyboard layout?
The 'de' layout:
!"§$%&/()=?` 1234567890ß´
The 'uk' layout:
!"£$%^&*()_+ 1234567890-=
Admin
I now that fear. I live with this uberdev who's somewhat uptight about conventions. Every time I say "pointer" instead of "reference" I get bitchslapped.
I'm also traumatized about indenting stuff. In fact, the local domestic violence support group does their fliers ALL WRONG.
captcha: caecus (one-eyed). Oddly appropriate.