<?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"
	>
<channel>
	<title>Comments on: Invalid Flashing Fields 2.0</title>
	<atom:link href="http://forms.stefcameron.com/2006/08/15/invalid-flashing-fields-20/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2006/08/15/invalid-flashing-fields-20/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<pubDate>Sat, 22 Nov 2008 22:54:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/08/15/invalid-flashing-fields-20/#comment-220</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 24 Aug 2006 19:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=33#comment-220</guid>
		<description>Michael,

Your question prompted a new post on my blog with a sample on how to do complex validations prior to submitting a form. See &lt;a href="http://blogs.adobe.com/formbuilder/2006/08/complex_validations.html" rel="nofollow"&gt;Complex Validations&lt;/a&gt;.

As for reusing script across different forms, that's possible by using a combination of script objects, subforms and the Library palette: Place a subform on the form and, in the Hierarchy palette, right-click on the subform you just inserted and select &lt;i&gt;Insert Script Object&lt;/i&gt;. Then, select the script object and give it a name and use the Script Editor to write script (note that only JavaScript may be used in script objects). Once you're finished, make the subform invisible using the Object palette's Subform tab and drag the subform to the Library palette. That'll create a new object in the Library that you can drag and drop onto any form. Say you named the subform "Subform1" and the script object "ScriptObject", you would when access the script by writing a JavaScript (on a button's Click event, for example) with a statement like "Subform1.ScriptObject.MyFunction();"

The problem with that approach is that if you need to modify the scripts in the script object, you'll have to go back and fix all the forms that use it because dragging and dropping from the Library onto a form create a &lt;b&gt;copy&lt;/b&gt; of that object -- not a reference.

Since I'm quite certain you're looking for a reference rather than a copy, I'll have to ask you to be a little patient because it's possible we may address that issue in a future release.
</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>Your question prompted a new post on my blog with a sample on how to do complex validations prior to submitting a form. See <a href="http://blogs.adobe.com/formbuilder/2006/08/complex_validations.html" rel="nofollow">Complex Validations</a>.</p>
<p>As for reusing script across different forms, that&#8217;s possible by using a combination of script objects, subforms and the Library palette: Place a subform on the form and, in the Hierarchy palette, right-click on the subform you just inserted and select <i>Insert Script Object</i>. Then, select the script object and give it a name and use the Script Editor to write script (note that only JavaScript may be used in script objects). Once you&#8217;re finished, make the subform invisible using the Object palette&#8217;s Subform tab and drag the subform to the Library palette. That&#8217;ll create a new object in the Library that you can drag and drop onto any form. Say you named the subform &#8220;Subform1&#8243; and the script object &#8220;ScriptObject&#8221;, you would when access the script by writing a JavaScript (on a button&#8217;s Click event, for example) with a statement like &#8220;Subform1.ScriptObject.MyFunction();&#8221;</p>
<p>The problem with that approach is that if you need to modify the scripts in the script object, you&#8217;ll have to go back and fix all the forms that use it because dragging and dropping from the Library onto a form create a <b>copy</b> of that object &#8212; not a reference.</p>
<p>Since I&#8217;m quite certain you&#8217;re looking for a reference rather than a copy, I&#8217;ll have to ask you to be a little patient because it&#8217;s possible we may address that issue in a future release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Ramirez</title>
		<link>http://forms.stefcameron.com/2006/08/15/invalid-flashing-fields-20/#comment-219</link>
		<dc:creator>Michael Ramirez</dc:creator>
		<pubDate>Tue, 22 Aug 2006 19:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=33#comment-219</guid>
		<description>How would you apply complex validation rules to a pdf docuemnt. For example, field A cannot be blank if fields B &#038; C are filled or field E is checked. Can you reuse validation libraries across different forms?</description>
		<content:encoded><![CDATA[<p>How would you apply complex validation rules to a pdf docuemnt. For example, field A cannot be blank if fields B &#038; C are filled or field E is checked. Can you reuse validation libraries across different forms?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
