<?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: Using the Validators.validateAll() method to validate a form</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sameera Sandaruwan</title>
		<link>http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/comment-page-1/#comment-6444</link>
		<dc:creator>Sameera Sandaruwan</dc:creator>
		<pubDate>Tue, 24 Nov 2009 10:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/#comment-6444</guid>
		<description>1. TextInput creates dynamically

textInputBox = new MyTextInput;

textInputBox.restrict = “0-9.”;
textInputBox.maxChars = 24;
amountValidator = new NumberValidator();
amountValidator.source = textInputBox;
amountValidator.property = “text”;
amountValidator.allowNegative = false;
amountValidator.domain = “real”;
amountValidator.precision = 4;
amountValidator.required = false;
amountValidator.maxValue = 999999999999.9999;
amountValidator.trigger = textInputBox;
amountValidator.triggerEvent = Event.CHANGE;
amountValidator.addEventListener(ValidationResultEvent.VALID, amountValid);
amountValidator.addEventListener(ValidationResultEvent.INVALID, amountInvalid);

private function amountValid(event:ValidationResultEvent):void
{
valid = true;
fieldsValidated = true;
}

private function amountInvalid(event:ValidationResultEvent):void
{

valid = false;
fieldsValidated = true;
}

2. As mention in the creation, when we exceed the limit, it shows error my red color border, and the same time if you delete them by DEL key when it come to the given acceptable limit, automatically become to green soon.
3. Leave from the field and change values of another textinput(this is just a textinput, this is a form there are some more form elemets), then come back to value exceeded textfield by SHIFT+TABS and remove the additional entered numbers, when you come to green soon your value is accepted.
4.Now again enter more values and now you are in the warn zone, then leave from the field and do the few changes in other form elements.
5. Then come back to the value exceeded text filed by MOUSE CLICK, and start delete from DEL, even though you removed additional values, still fields shows that you are in warn zone.

Actual Results:
Even when remove additional numbers,still field is Red

Expected Results:
if remove additional numbers, field should come its normal status.

Picture of this issue can be viewed at http://bugs.adobe.com/jira/browse/SDK-24372</description>
		<content:encoded><![CDATA[<p>1. TextInput creates dynamically</p>
<p>textInputBox = new MyTextInput;</p>
<p>textInputBox.restrict = “0-9.”;<br />
textInputBox.maxChars = 24;<br />
amountValidator = new NumberValidator();<br />
amountValidator.source = textInputBox;<br />
amountValidator.property = “text”;<br />
amountValidator.allowNegative = false;<br />
amountValidator.domain = “real”;<br />
amountValidator.precision = 4;<br />
amountValidator.required = false;<br />
amountValidator.maxValue = 999999999999.9999;<br />
amountValidator.trigger = textInputBox;<br />
amountValidator.triggerEvent = Event.CHANGE;<br />
amountValidator.addEventListener(ValidationResultEvent.VALID, amountValid);<br />
amountValidator.addEventListener(ValidationResultEvent.INVALID, amountInvalid);</p>
<p>private function amountValid(event:ValidationResultEvent):void<br />
{<br />
valid = true;<br />
fieldsValidated = true;<br />
}</p>
<p>private function amountInvalid(event:ValidationResultEvent):void<br />
{</p>
<p>valid = false;<br />
fieldsValidated = true;<br />
}</p>
<p>2. As mention in the creation, when we exceed the limit, it shows error my red color border, and the same time if you delete them by DEL key when it come to the given acceptable limit, automatically become to green soon.<br />
3. Leave from the field and change values of another textinput(this is just a textinput, this is a form there are some more form elemets), then come back to value exceeded textfield by SHIFT+TABS and remove the additional entered numbers, when you come to green soon your value is accepted.<br />
4.Now again enter more values and now you are in the warn zone, then leave from the field and do the few changes in other form elements.<br />
5. Then come back to the value exceeded text filed by MOUSE CLICK, and start delete from DEL, even though you removed additional values, still fields shows that you are in warn zone.</p>
<p>Actual Results:<br />
Even when remove additional numbers,still field is Red</p>
<p>Expected Results:<br />
if remove additional numbers, field should come its normal status.</p>
<p>Picture of this issue can be viewed at <a href="http://bugs.adobe.com/jira/browse/SDK-24372" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-24372</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Borek</title>
		<link>http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/comment-page-1/#comment-205</link>
		<dc:creator>Borek</dc:creator>
		<pubDate>Fri, 03 Aug 2007 08:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/#comment-205</guid>
		<description>Yes, filtering is probably the easiest workaround I know of.

Borek</description>
		<content:encoded><![CDATA[<p>Yes, filtering is probably the easiest workaround I know of.</p>
<p>Borek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/comment-page-1/#comment-207</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 02 Aug 2007 20:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/#comment-207</guid>
		<description>Tony,

Yeah, I&#039;ve been thinking about doing that. Usually I try and link to the MXML so you can see the raw files, as well as do View-Source enabled SWFs, but it all depends on if I have time or not (I write either before work or late at night).

Can you recommend a good syntax highlight plugin from the list?
I like WP-Syntax, but the plugin doesnt seem to work very well with my Redoable theme.

Peter</description>
		<content:encoded><![CDATA[<p>Tony,</p>
<p>Yeah, I&#8217;ve been thinking about doing that. Usually I try and link to the MXML so you can see the raw files, as well as do View-Source enabled SWFs, but it all depends on if I have time or not (I write either before work or late at night).</p>
<p>Can you recommend a good syntax highlight plugin from the list?<br />
I like WP-Syntax, but the plugin doesnt seem to work very well with my Redoable theme.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Fendall</title>
		<link>http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/comment-page-1/#comment-206</link>
		<dc:creator>Tony Fendall</dc:creator>
		<pubDate>Thu, 02 Aug 2007 20:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/02/using-the-validatorsvalidateall-method-to-validate-a-form/#comment-206</guid>
		<description>You post a lot of great examples, and I&#039;m really greatful, but it would be cool if you could get a plugin to put syntax highlighting on the code snippets.

http://codex.wordpress.org/Plugins/Syntax_Highlighting</description>
		<content:encoded><![CDATA[<p>You post a lot of great examples, and I&#8217;m really greatful, but it would be cool if you could get a plugin to put syntax highlighting on the code snippets.</p>
<p><a href="http://codex.wordpress.org/Plugins/Syntax_Highlighting" rel="nofollow">http://codex.wordpress.org/Plugins/Syntax_Highlighting</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

