<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: 3 Value Checkbox</title>
	<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<pubDate>Fri, 05 Dec 2008 00:08:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Matthias Willerich</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-10730</link>
		<pubDate>Wed, 19 Nov 2008 09:10:07 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-10730</guid>
					<description>A nice-to-have would be to use the labels as they would work with a regular checkbox (as in: they're a click target, too).</description>
		<content:encoded><![CDATA[<p>A nice-to-have would be to use the labels as they would work with a regular checkbox (as in: they&#8217;re a click target, too).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ruthi</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9742</link>
		<pubDate>Thu, 31 Jul 2008 13:13:07 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9742</guid>
					<description>Grate Job!
I found a small bug in function replaceChecks()
lines: 
else if(inputs[i].value = 1 ) &#38;&#38; 
else if(inputs[i].value = 2 )
should chnage to:
else if(inputs[i].value == 1 ) &#38;&#38; 
else if(inputs[i].value == 2 )</description>
		<content:encoded><![CDATA[<p>Grate Job!<br />
I found a small bug in function replaceChecks()<br />
lines:<br />
else if(inputs[i].value = 1 ) &amp;&amp;<br />
else if(inputs[i].value = 2 )<br />
should chnage to:<br />
else if(inputs[i].value == 1 ) &amp;&amp;<br />
else if(inputs[i].value == 2 )
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9505</link>
		<pubDate>Tue, 01 Jul 2008 17:45:36 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9505</guid>
					<description>Thanks for the tip Mx!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip Mx!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mx</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9504</link>
		<pubDate>Tue, 01 Jul 2008 17:31:39 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9504</guid>
					<description>Why are you using "label" if you don't use ID attribute in "input". "label" works with ID *not* NAME attribute.
Now, if we fix this error, and if we click on the text label, the checkbox internal state can be unchecked by the user and checkbox value is no more sent by the brower.
It's very easy to test by adding this php line: print_r($_POST);</description>
		<content:encoded><![CDATA[<p>Why are you using &#8220;label&#8221; if you don&#8217;t use ID attribute in &#8220;input&#8221;. &#8220;label&#8221; works with ID *not* NAME attribute.<br />
Now, if we fix this error, and if we click on the text label, the checkbox internal state can be unchecked by the user and checkbox value is no more sent by the brower.<br />
It&#8217;s very easy to test by adding this php line: print_r($_POST);
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9173</link>
		<pubDate>Thu, 29 May 2008 13:32:45 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9173</guid>
					<description>[quote post="2322"]Have you really never seen disabled form elements?[/quote]

No, I've seen them. It's just that the value of a disabled checkbox is not sent when the form is submitted. So a disabled box is virtually indistinguishable from an un-checked  box when you examine the POST arguments.

What I needed to do was to capture 1 out of 3 distinct states. So yeah, it makes perfect sense until you actually sit down and try to implement it this way.

Oh, and if you were wondering why I didn't just "style" the checkboxes with CSS it's because it's virtually impossible to do so. Most browsers gleefully ignore any styles applied to check-boxes and radio buttons.

So this is really not as insane as it looks like. It's just hard to see the method in our madness from the outside sometimes. ;)</description>
		<content:encoded><![CDATA[<blockquote cite="http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/"><p>
Have you really never seen disabled form elements?</p>
</blockquote>
<p>No, I&#8217;ve seen them. It&#8217;s just that the value of a disabled checkbox is not sent when the form is submitted. So a disabled box is virtually indistinguishable from an un-checked  box when you examine the POST arguments.</p>
<p>What I needed to do was to capture 1 out of 3 distinct states. So yeah, it makes perfect sense until you actually sit down and try to implement it this way.</p>
<p>Oh, and if you were wondering why I didn&#8217;t just &#8220;style&#8221; the checkboxes with CSS it&#8217;s because it&#8217;s virtually impossible to do so. Most browsers gleefully ignore any styles applied to check-boxes and radio buttons.</p>
<p>So this is really not as insane as it looks like. It&#8217;s just hard to see the method in our madness from the outside sometimes. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=")" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: what</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9172</link>
		<pubDate>Thu, 29 May 2008 11:34:47 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9172</guid>
					<description>Also, when something is 'half' selected - if you select multiple files in windows, and set the read only attribute for instance... it will be clear, you can check it, and then make it clear.

If some are read only and others not, then the initial state will be half shaded. You can then clear or check it, or again half shade it.

But your 'No, just one. But with N/A option.' means a disabled checkbox.

your captcha uses shell commands, how awesome</description>
		<content:encoded><![CDATA[<p>Also, when something is &#8216;half&#8217; selected - if you select multiple files in windows, and set the read only attribute for instance&#8230; it will be clear, you can check it, and then make it clear.</p>
<p>If some are read only and others not, then the initial state will be half shaded. You can then clear or check it, or again half shade it.</p>
<p>But your &#8216;No, just one. But with N/A option.&#8217; means a disabled checkbox.</p>
<p>your captcha uses shell commands, how awesome
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: what</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9171</link>
		<pubDate>Thu, 29 May 2008 11:31:23 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-9171</guid>
					<description>Are you insane?

Have you really never seen disabled form elements?

NO REALLY

wtf.</description>
		<content:encoded><![CDATA[<p>Are you insane?</p>
<p>Have you really never seen disabled form elements?</p>
<p>NO REALLY</p>
<p>wtf.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-8611</link>
		<pubDate>Thu, 27 Mar 2008 13:54:23 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-8611</guid>
					<description>Ah, so that the dotted thing means. :) Thanks!</description>
		<content:encoded><![CDATA[<p>Ah, so that the dotted thing means. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=")" class="wp-smiley" />  Thanks!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: BTM</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-8610</link>
		<pubDate>Thu, 27 Mar 2008 12:30:55 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-8610</guid>
					<description>&lt;blockquote&gt;what is the difference between the ckeck and the square in the Filezilla? &lt;/blockquote&gt;checked - set the permission (changes permissions)
unchecked - remove the permission (changes permission)
dotted (? :P) - do not modiffy the permissions (dosn't change the permission)</description>
		<content:encoded><![CDATA[<blockquote><p>what is the difference between the ckeck and the square in the Filezilla? </p>
</blockquote>
<p>checked - set the permission (changes permissions)<br />
unchecked - remove the permission (changes permission)<br />
dotted (? <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_razz.gif" alt="P" class="wp-smiley" /> ) - do not modiffy the permissions (dosn&#8217;t change the permission)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: vacri</title>
		<link>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-8353</link>
		<pubDate>Thu, 06 Mar 2008 05:27:18 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/03/05/3-value-checkbox/#comment-8353</guid>
					<description>It's interesting just how many faults you can pick up in a UI if you consider yourself to be a 50-60 year old user, who generally have poorer eyesight and coarser hand-eye coordination. Things that needlessly require subtle visual discrimination and small mouse targets stand out. I'm currently fighting over icons with my devs who are all 20somethings and have fine vision but the software will be used by 20-50somethings. It's the old fight about form vs function. :)

My pet example to hate is iTunes-for-Windows which forces you to use their UI. Tiny tiny menus that are both hard to read and are small targets. Ironic for a company that prides itself on usability, to override the chosen theme of users who may have a real need a particular theme.</description>
		<content:encoded><![CDATA[<p>It&#8217;s interesting just how many faults you can pick up in a UI if you consider yourself to be a 50-60 year old user, who generally have poorer eyesight and coarser hand-eye coordination. Things that needlessly require subtle visual discrimination and small mouse targets stand out. I&#8217;m currently fighting over icons with my devs who are all 20somethings and have fine vision but the software will be used by 20-50somethings. It&#8217;s the old fight about form vs function. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<p>My pet example to hate is iTunes-for-Windows which forces you to use their UI. Tiny tiny menus that are both hard to read and are small targets. Ironic for a company that prides itself on usability, to override the chosen theme of users who may have a real need a particular theme.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.499 seconds -->
