<?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: Process All Fields</title>
	<atom:link href="http://forms.stefcameron.com/2006/06/26/process-all-fields/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-5003</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 10 Sep 2010 11:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-5003</guid>
		<description>@Ben,

You don&#039;t see the warning on my form because I do the validation manually using my &quot;Process All Fields&quot; script (from this tutorial). That means all the fields are actually flagged as &quot;optional&quot;, getting rid of the warning -- which can&#039;t be customized, unfortunately.</description>
		<content:encoded><![CDATA[<p>@Ben,</p>
<p>You don&#8217;t see the warning on my form because I do the validation manually using my &#8220;Process All Fields&#8221; script (from this tutorial). That means all the fields are actually flagged as &#8220;optional&#8221;, getting rid of the warning &#8212; which can&#8217;t be customized, unfortunately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-5002</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 25 Aug 2010 16:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-5002</guid>
		<description>Hi Stefan,

Great tutorial form, been a lot of help with my own project.  However, I&#039;m pretty new to LiveCycle and was wondering how you&#039;ve suppressed the generic validation message that appears when, for example, the user enters some information in a field set to &#039;User Entered - Required&#039;, then has a change of heart, deletes it again, and moves on.

In my form I always get a pop-up message saying &#039;XXXField cannot be left blank&#039; but when I try the same in your example (e.g. on the second textfield) no message appears.  I&#039;ve checked all the settings/options I can think of and they seem identical - can you help?

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>Great tutorial form, been a lot of help with my own project.  However, I&#8217;m pretty new to LiveCycle and was wondering how you&#8217;ve suppressed the generic validation message that appears when, for example, the user enters some information in a field set to &#8216;User Entered &#8211; Required&#8217;, then has a change of heart, deletes it again, and moves on.</p>
<p>In my form I always get a pop-up message saying &#8216;XXXField cannot be left blank&#8217; but when I try the same in your example (e.g. on the second textfield) no message appears.  I&#8217;ve checked all the settings/options I can think of and they seem identical &#8211; can you help?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-5001</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Tue, 28 Apr 2009 20:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-5001</guid>
		<description>I was hoping to obtain an example of how Antonio Auricchio (or anyone else) was able to address the memory issue when dealing with a large number of fields.

Any help would be most appreciated.</description>
		<content:encoded><![CDATA[<p>I was hoping to obtain an example of how Antonio Auricchio (or anyone else) was able to address the memory issue when dealing with a large number of fields.</p>
<p>Any help would be most appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-5000</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 17 Apr 2009 17:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-5000</guid>
		<description>sblanco,

There are many ways that form objects can be validated. The right course of action depends on the reason for the validation. What reason do you want to validate the dates for? What should happen if the second date is smaller or the same as the first one?</description>
		<content:encoded><![CDATA[<p>sblanco,</p>
<p>There are many ways that form objects can be validated. The right course of action depends on the reason for the validation. What reason do you want to validate the dates for? What should happen if the second date is smaller or the same as the first one?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sblanco</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-4999</link>
		<dc:creator>sblanco</dc:creator>
		<pubDate>Tue, 14 Apr 2009 20:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-4999</guid>
		<description>Hi Stefan,

Hope everything okay at your end...

Just want to ask your help. I need to validate and check two date fields which entered by usersr using the calendar picker.  The required date must be greater than the requested date. I hope you can help me...

Thank you and best regards,
Sandra</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>Hope everything okay at your end&#8230;</p>
<p>Just want to ask your help. I need to validate and check two date fields which entered by usersr using the calendar picker.  The required date must be greater than the requested date. I hope you can help me&#8230;</p>
<p>Thank you and best regards,<br />
Sandra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-4998</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 06 Feb 2009 04:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-4998</guid>
		<description>Ram,

You can force the validation script of a field, subform or the entire form to be executed by calling the execValidate() method on a field, subform or form (e.g. xfa.form.execValidate()). This should execute the validation scripts.

As for the format test, that&#039;s usually a Picture Clause that&#039;s used to validate user input into a field. I believe you would have to manually test that one using FormCalc functions like Date2Num() to test a field&#039;s value against its validation pattern, assuming it&#039;s a date pattern.</description>
		<content:encoded><![CDATA[<p>Ram,</p>
<p>You can force the validation script of a field, subform or the entire form to be executed by calling the execValidate() method on a field, subform or form (e.g. xfa.form.execValidate()). This should execute the validation scripts.</p>
<p>As for the format test, that&#8217;s usually a Picture Clause that&#8217;s used to validate user input into a field. I believe you would have to manually test that one using FormCalc functions like Date2Num() to test a field&#8217;s value against its validation pattern, assuming it&#8217;s a date pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ram</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-4997</link>
		<dc:creator>Ram</dc:creator>
		<pubDate>Thu, 05 Feb 2009 16:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-4997</guid>
		<description>Hi Stefan,

You are performing nullTest in your form. Is it also possible to perform formatTest and scriptTest using javascript?

Thanks
Ram</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>You are performing nullTest in your form. Is it also possible to perform formatTest and scriptTest using javascript?</p>
<p>Thanks<br />
Ram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-4996</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 10 Nov 2008 18:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-4996</guid>
		<description>Megan,

If you know exactly what the fields are, then you would simply change their color directly depending on the value selected in the drop down list.

My tutorial on &lt;a href=&quot;http://forms.stefcameron.com/2008/10/27/handling-list-selection-changes/&quot; rel=&quot;nofollow&quot;&gt;handling list selection changes&lt;/a&gt; will show you how to get the new selection in your drop down list.

From there, you would determine if it&#039;s &quot;December&quot; and you would set the color of the weekend days directly:

&lt;pre&gt;&lt;code&gt;MonthDay6.fillColor = &quot;255,255,0&quot;; // yellow, I think
MonthDay7.fillColor = &quot;255,255,0&quot;;&lt;/code&gt;&lt;/pre&gt;

If you want to get more sophisticated and your fields are named as above, then you could call a function that determines the days of the month that are weekend days and returns them in an Array object. Then you could iterate through the Array and dynamically create the names of the fields to highlight:

&lt;pre&gt;&lt;code&gt;var days = GetWeekendDays(dropDownListSelection);

for (var i = 0; i &lt; days.length; i++)
{
    xfa.form.resolveNode(&quot;#subform[0].MonthDay&quot; + days[i]).fillColor = &quot;255,255,0&quot;;
}&lt;/code&gt;&lt;/pre&gt;

For each entry in the list, the pertaining &quot;MonthDayX&quot; field is located in your form and highlighted.</description>
		<content:encoded><![CDATA[<p>Megan,</p>
<p>If you know exactly what the fields are, then you would simply change their color directly depending on the value selected in the drop down list.</p>
<p>My tutorial on <a href="http://forms.stefcameron.com/2008/10/27/handling-list-selection-changes/" rel="nofollow">handling list selection changes</a> will show you how to get the new selection in your drop down list.</p>
<p>From there, you would determine if it&#8217;s &#8220;December&#8221; and you would set the color of the weekend days directly:</p>
<pre><code>MonthDay6.fillColor = "255,255,0"; // yellow, I think
MonthDay7.fillColor = "255,255,0";</code></pre>
<p>If you want to get more sophisticated and your fields are named as above, then you could call a function that determines the days of the month that are weekend days and returns them in an Array object. Then you could iterate through the Array and dynamically create the names of the fields to highlight:</p>
<pre><code>var days = GetWeekendDays(dropDownListSelection);

for (var i = 0; i < days.length; i++)
{
    xfa.form.resolveNode("#subform[0].MonthDay" + days[i]).fillColor = "255,255,0";
}</code></code></pre>
<p>For each entry in the list, the pertaining "MonthDayX" field is located in your form and highlighted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Megan</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-4995</link>
		<dc:creator>Megan</dc:creator>
		<pubDate>Wed, 05 Nov 2008 21:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-4995</guid>
		<description>Hi Stefan,

I am trying to understand Highlighting script.  What I am trying to do with my form is when you select text from a drop down it automatically highlights certain text boxes throughout the form.  For example:  When you select the month of December in the drop down, it will highlight the weekend days which are (text boxes) below.

I can&#039;t seem to figure this one out.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I am trying to understand Highlighting script.  What I am trying to do with my form is when you select text from a drop down it automatically highlights certain text boxes throughout the form.  For example:  When you select the month of December in the drop down, it will highlight the weekend days which are (text boxes) below.</p>
<p>I can&#8217;t seem to figure this one out.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/06/26/process-all-fields/#comment-4994</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 14 Aug 2008 02:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=22#comment-4994</guid>
		<description>Sylvia,

It&#039;s probably because the individual radio buttons aren&#039;t the ones that are mandatory -- it&#039;s the radio button list. The radio buttons are just there to set the value in the radio button list so the field is the radio button list, not the individual radio buttons...</description>
		<content:encoded><![CDATA[<p>Sylvia,</p>
<p>It&#8217;s probably because the individual radio buttons aren&#8217;t the ones that are mandatory &#8212; it&#8217;s the radio button list. The radio buttons are just there to set the value in the radio button list so the field is the radio button list, not the individual radio buttons&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

