<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Form Validation for the Lazy Programmer in Flex</title>
	<atom:link href="http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/</link>
	<description>[without unit tests] you&#039;re not refactoring; you&#039;re just changing shit. -Hamlet D&#039;Arcy</description>
	<lastBuildDate>Mon, 14 May 2012 21:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Joel Hooks</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-867</link>
		<dc:creator>Joel Hooks</dc:creator>
		<pubDate>Sun, 04 Dec 2011 21:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-867</guid>
		<description>This was written for Flex 3 something. It might need some adjustment.</description>
		<content:encoded><![CDATA[<p>This was written for Flex 3 something. It might need some adjustment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Rosoft</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-866</link>
		<dc:creator>Mike Rosoft</dc:creator>
		<pubDate>Sun, 04 Dec 2011 09:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-866</guid>
		<description>i have the same problem... </description>
		<content:encoded><![CDATA[<p>i have the same problem&#8230; </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mford</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-844</link>
		<dc:creator>mford</dc:creator>
		<pubDate>Sat, 27 Aug 2011 21:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-844</guid>
		<description>Still one of my favorites.  I use this throughout my apps.  Came across an issue, so I thought I&#039;d share.  I have a validator that is enabled conditionally...



This caused errors using Joel&#039;s code.  So I modified his
private function validate(validator:Validator):Booleanto...var currentControlIsValid:Boolean = true;			if (validator.enabled == true) { //MPF     var validatorSource:DisplayObject = validator.source as DisplayObject;     var supressEvents:Boolean = validatorSource != focusedFormControl;     var event:ValidationResultEvent = validator.validate(null, supressEvents)     currentControlIsValid = event.type == ValidationResultEvent.VALID;}			formIsValid = formIsValid &amp;&amp; currentControlIsValid;return currentControlIsValid;}</description>
		<content:encoded><![CDATA[<p>Still one of my favorites.  I use this throughout my apps.  Came across an issue, so I thought I&#8217;d share.  I have a validator that is enabled conditionally&#8230;</p>
<p>This caused errors using Joel&#8217;s code.  So I modified his<br />
private function validate(validator:Validator):Booleanto&#8230;var currentControlIsValid:Boolean = true;			if (validator.enabled == true) { //MPF     var validatorSource:DisplayObject = validator.source as DisplayObject;     var supressEvents:Boolean = validatorSource != focusedFormControl;     var event:ValidationResultEvent = validator.validate(null, supressEvents)     currentControlIsValid = event.type == ValidationResultEvent.VALID;}			formIsValid = formIsValid &amp;&amp; currentControlIsValid;return currentControlIsValid;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Hooks</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-727</link>
		<dc:creator>Joel Hooks</dc:creator>
		<pubDate>Mon, 28 Mar 2011 19:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-727</guid>
		<description>I haven&#039;t tried it, but conceptually it should work. I don&#039;t think validators have changed.</description>
		<content:encoded><![CDATA[<p>I haven&#39;t tried it, but conceptually it should work. I don&#39;t think validators have changed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-726</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Mon, 28 Mar 2011 15:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-726</guid>
		<description>can this same work for flex 4 spark form items?</description>
		<content:encoded><![CDATA[<p>can this same work for flex 4 spark form items?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwigg22</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-586</link>
		<dc:creator>kwigg22</dc:creator>
		<pubDate>Thu, 02 Sep 2010 23:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-586</guid>
		<description>Does this work? I keep getting prefix element is not bound for the validators:FormValidator line</description>
		<content:encoded><![CDATA[<p>Does this work? I keep getting prefix element is not bound for the validators:FormValidator line</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Pyrathon</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-578</link>
		<dc:creator>Daniel Pyrathon</dc:creator>
		<pubDate>Mon, 30 Aug 2010 06:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-578</guid>
		<description>Neat stuff!! great work</description>
		<content:encoded><![CDATA[<p>Neat stuff!! great work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surendragurjar</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-574</link>
		<dc:creator>Surendragurjar</dc:creator>
		<pubDate>Wed, 18 Aug 2010 16:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-574</guid>
		<description>Great work.....</description>
		<content:encoded><![CDATA[<p>Great work&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Hooks</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-474</link>
		<dc:creator>Joel Hooks</dc:creator>
		<pubDate>Mon, 02 Nov 2009 03:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-474</guid>
		<description>Combo boxes require object validators. It does work, you just  &lt;br&gt;generally need a custom validator.</description>
		<content:encoded><![CDATA[<p>Combo boxes require object validators. It does work, you just  <br />generally need a custom validator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reggie</title>
		<link>http://joelhooks.com/2009/02/01/form-validation-for-the-lazy-programmer-in-flex/comment-page-1/#comment-473</link>
		<dc:creator>Reggie</dc:creator>
		<pubDate>Mon, 02 Nov 2009 03:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=139#comment-473</guid>
		<description>This doesn&#039;t work for ComboBox form items.</description>
		<content:encoded><![CDATA[<p>This doesn&#39;t work for ComboBox form items.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

