<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HTML5 Form Validation on SUMO</title>
	<atom:link href="http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/</link>
	<description>For make benefit of glorious tubes</description>
	<lastBuildDate>Mon, 17 Jun 2013 17:13:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Dave Hulbert</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215139</link>
		<dc:creator>Dave Hulbert</dc:creator>
		<pubDate>Tue, 15 Mar 2011 12:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215139</guid>
		<description><![CDATA[Check out the JavaScript polyfills for older browsers here: https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills

There&#039;s a whole section on web forms.]]></description>
		<content:encoded><![CDATA[<p>Check out the JavaScript polyfills for older browsers here: <a href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills" rel="nofollow">https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills</a></p>
<p>There&#8217;s a whole section on web forms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fr</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215137</link>
		<dc:creator>fr</dc:creator>
		<pubDate>Tue, 15 Mar 2011 10:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215137</guid>
		<description><![CDATA[The message shown when failing to match the regex pattern is rather vague and unhelpful to the user, is it possible for the site developer to specify the not a match message to make it clear what is expected?]]></description>
		<content:encoded><![CDATA[<p>The message shown when failing to match the regex pattern is rather vague and unhelpful to the user, is it possible for the site developer to specify the not a match message to make it clear what is expected?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nemo</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215125</link>
		<dc:creator>nemo</dc:creator>
		<pubDate>Tue, 15 Mar 2011 02:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215125</guid>
		<description><![CDATA[How about attempting to submit an invalid form in a hidden iframe?

I suppose checking on whether novalidate or required exist on form elements might work too.]]></description>
		<content:encoded><![CDATA[<p>How about attempting to submit an invalid form in a hidden iframe?</p>
<p>I suppose checking on whether novalidate or required exist on form elements might work too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels Muller Larsen</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215122</link>
		<dc:creator>Niels Muller Larsen</dc:creator>
		<pubDate>Mon, 14 Mar 2011 22:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215122</guid>
		<description><![CDATA[You might look at http://www.modernizr.com/ for the Modernizr JS library.
Also take a look at findmebyip.com.]]></description>
		<content:encoded><![CDATA[<p>You might look at <a href="http://www.modernizr.com/" rel="nofollow">http://www.modernizr.com/</a> for the Modernizr JS library.<br />
Also take a look at findmebyip.com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Coyier</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215121</link>
		<dc:creator>Chris Coyier</dc:creator>
		<pubDate>Mon, 14 Mar 2011 22:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215121</guid>
		<description><![CDATA[Awesome job highlighting HTML5 form validation Ricky! 

Couple quickies:

- Safari 5 Windows is still validating I think. It was on Mac, but then it must have been nerfed at one of the 5.0.x updates. It was very primitive though, it just put offending fields in focus.

- The screenshots highlight a &quot;bug&quot; in Chrome, where removing the padding from the div element makes those popup validation bubbles really cramped and sorta bad looking. Quick fix, when you remove the padding from div elements, make sure it&#039;s body &gt; div.

- For folks interested in customizing those messages, check out .setCustomValidity in JavaScript (not 100% sure browser compatibility but is has some)]]></description>
		<content:encoded><![CDATA[<p>Awesome job highlighting HTML5 form validation Ricky! </p>
<p>Couple quickies:</p>
<p>- Safari 5 Windows is still validating I think. It was on Mac, but then it must have been nerfed at one of the 5.0.x updates. It was very primitive though, it just put offending fields in focus.</p>
<p>- The screenshots highlight a &#8220;bug&#8221; in Chrome, where removing the padding from the div element makes those popup validation bubbles really cramped and sorta bad looking. Quick fix, when you remove the padding from div elements, make sure it&#8217;s body &gt; div.</p>
<p>- For folks interested in customizing those messages, check out .setCustomValidity in JavaScript (not 100% sure browser compatibility but is has some)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcoos</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215120</link>
		<dc:creator>marcoos</dc:creator>
		<pubDate>Mon, 14 Mar 2011 22:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215120</guid>
		<description><![CDATA[@Anonymous:

if (&quot;checkValidity&quot; in document.createElement(&quot;form&quot;)) {
  alert(&quot;Your browser supports html5 form validation&quot;);
}

Or simply use Modernizr.]]></description>
		<content:encoded><![CDATA[<p>@Anonymous:</p>
<p>if (&#8220;checkValidity&#8221; in document.createElement(&#8220;form&#8221;)) {<br />
  alert(&#8220;Your browser supports html5 form validation&#8221;);<br />
}</p>
<p>Or simply use Modernizr.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215116</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 14 Mar 2011 18:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215116</guid>
		<description><![CDATA[Ideally, if you see type=&quot;email&quot;, you could make it easy for the user to fill in their own email address.

Hopefully, someone will build a script that adds HTML5 form validation to browsers that don&#039;t support it, by looking at the new attributes.  Except, how do you transparently tell if the browser already supports HTML5 form validation?]]></description>
		<content:encoded><![CDATA[<p>Ideally, if you see type=&#8221;email&#8221;, you could make it easy for the user to fill in their own email address.</p>
<p>Hopefully, someone will build a script that adds HTML5 form validation to browsers that don&#8217;t support it, by looking at the new attributes.  Except, how do you transparently tell if the browser already supports HTML5 form validation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the_dees</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215115</link>
		<dc:creator>the_dees</dc:creator>
		<pubDate>Mon, 14 Mar 2011 17:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215115</guid>
		<description><![CDATA[I hope you don&#039;t use these fields internationally, because Firefox and Opera (I don&#039;t know about Chrome 10) don&#039;t accept International Domain Names in the type=&quot;email&quot; state.]]></description>
		<content:encoded><![CDATA[<p>I hope you don&#8217;t use these fields internationally, because Firefox and Opera (I don&#8217;t know about Chrome 10) don&#8217;t accept International Domain Names in the type=&#8221;email&#8221; state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MT</title>
		<link>http://blog.mozilla.org/webdev/2011/03/14/html5-form-validation-on-sumo/comment-page-1/#comment-215110</link>
		<dc:creator>MT</dc:creator>
		<pubDate>Mon, 14 Mar 2011 16:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=1532#comment-215110</guid>
		<description><![CDATA[Unfortunately, &quot;required&quot; fields that are not empty but contain only _whitespace_ are considered valid by HTML5-browsers. So, in practice, we are forced to use JavaScript _anyway_.

By the way, in HTML5, there are no more reasons to duplicate name of boolean attribute in its value. So, instead required=&quot;required&quot; we can just use required with no value at all.]]></description>
		<content:encoded><![CDATA[<p>Unfortunately, &#8220;required&#8221; fields that are not empty but contain only _whitespace_ are considered valid by HTML5-browsers. So, in practice, we are forced to use JavaScript _anyway_.</p>
<p>By the way, in HTML5, there are no more reasons to duplicate name of boolean attribute in its value. So, instead required=&#8221;required&#8221; we can just use required with no value at all.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
