CC: <a href="mailto:public-html@w3.org">public-html@w3.org</a><br><br>Forwarding to <a href="mailto:whatwg@whatwg.org">whatwg@whatwg.org</a> since no discussion happening on this in HTML WG.<br><br>---------- Forwarded message ----------
<br><span class="gmail_quote">From: <b class="gmail_sendername">Weston Ruter</b> <<a href="mailto:westonruter@gmail.com">westonruter@gmail.com</a>><br>Date: Sep 10, 2007 1:23 PM<br>Subject: [WF2] 6.2. Seeding a form with initial values -- contradiction in algorithm step 5
<br>To: HTML WG <<a href="mailto:public-html@w3.org">public-html@w3.org</a>><br><br></span>I believe there is a contradiction in step 5 of the algorithm defined by Web Forms 2.0 section 6.2 "Seeding a form with initial values"  [1]. In the last clause of the second paragraph it states that all radio buttons and checkboxes must be skipped over if they
     "have the exact name given but have a value that is not exactly the same
     as the contents of the <code>field</code> element." However, four paragraphs later it states that checkboxes (and I suppose radio buttons as well) may be unchecked by means of an empty 
<code>field</code> element with a matching <code>name</code> attribute:<br><br>> The only values that would have an effect in this example <br>> are "", which
would uncheck the checkbox, and "green", <br>> which would check the checkbox.<br><br>Obviously the non-empty value of an <code>input</code>  element (such as "green") is not exactly the same as the contents of an *empty* 
<code>field</code> element that has a matching name.<a href="http://www.w3.org/TR/web-forms-2/#seeding" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"></a><br><br>Any thoughts?<br>Weston<br>
<br>[1] <a href="http://www.w3.org/TR/web-forms-2/#seeding" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/TR/web-forms-2/#seeding</a>