<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Stefan Cameron on Forms</title>
	
	<link>http://forms.stefcameron.com</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Thu, 02 Sep 2010 17:36:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SConForms" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="sconforms" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>New Web Service Sample Form Posted</title>
		<link>http://forms.stefcameron.com/2010/09/02/new-web-service-sample-form-posted/</link>
		<comments>http://forms.stefcameron.com/2010/09/02/new-web-service-sample-form-posted/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 16:44:28 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Data Binding]]></category>
		<category><![CDATA[Designer]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=564</guid>
		<description><![CDATA[It was recently brought to my attention that the web service used by my sample form for my tutorial on connecting a form to a web service is no longer operational. Obviously, that makes the sample form much less useful so I have posted a second sample form that uses a different web service. If [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/ro5k2oYYK49ooWq1bAMQO7F4Ms0/0/da"><img src="http://feedads.g.doubleclick.net/~a/ro5k2oYYK49ooWq1bAMQO7F4Ms0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ro5k2oYYK49ooWq1bAMQO7F4Ms0/1/da"><img src="http://feedads.g.doubleclick.net/~a/ro5k2oYYK49ooWq1bAMQO7F4Ms0/1/di" border="0" ismap="true"></img></a></p><p>It was recently brought to my attention that the web service used by my sample form for my tutorial on <a href="http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/">connecting a form to a web service</a> is no longer operational. Obviously, that makes the sample form much less useful so I have posted a second sample form that uses a different web service. If you have been struggling with the original sample, please have a look at the new one I posted in an <a href="http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/">update</a> to the original post.</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/HpSbrF545ac" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/09/02/new-web-service-sample-form-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LiveCycle Designer ES2 Service Pack 1</title>
		<link>http://forms.stefcameron.com/2010/06/18/livecycle-designer-es2-service-pack-1/</link>
		<comments>http://forms.stefcameron.com/2010/06/18/livecycle-designer-es2-service-pack-1/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 16:06:46 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Designer]]></category>
		<category><![CDATA[LiveCycle]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=556</guid>
		<description><![CDATA[The LiveCycle ES2 SP1 update is now available and includes an update to LiveCycle Designer ES2.]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/_7jNE6pR1Sq3V1olNrDCLN87mTA/0/da"><img src="http://feedads.g.doubleclick.net/~a/_7jNE6pR1Sq3V1olNrDCLN87mTA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_7jNE6pR1Sq3V1olNrDCLN87mTA/1/da"><img src="http://feedads.g.doubleclick.net/~a/_7jNE6pR1Sq3V1olNrDCLN87mTA/1/di" border="0" ismap="true"></img></a></p><p>The LiveCycle ES2 SP1 update is <a href="http://blogs.adobe.com/livecycle/2010/05/livecycle_es2_service_pack_1_s.html">now available</a> and includes an update to LiveCycle Designer ES2.</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/WXpdSm2MQrg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/06/18/livecycle-designer-es2-service-pack-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New LiveCycle Enterprise Cafe Knowledge Application</title>
		<link>http://forms.stefcameron.com/2010/06/10/new-livecycle-enterprise-cafe-knowledge-application/</link>
		<comments>http://forms.stefcameron.com/2010/06/10/new-livecycle-enterprise-cafe-knowledge-application/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 16:24:06 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[Designer]]></category>
		<category><![CDATA[LiveCycle]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=554</guid>
		<description><![CDATA[There is a new version of Adobe LiveCycle Café, renamed Adobe Enterprise Café, available for download. The new version lets you &#8220;aggregate content related to Adobe LiveCycle ES (Enterprise Suite), Acrobat, Connect, ColdFusion, and the Adobe Flash Platform in a timely and customized fashion.&#8221; If you haven&#8217;t tried this out yet, it&#8217;s a great knowledge [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/SjXXZJQjpnkUAJnhq1SFt5C6jlg/0/da"><img src="http://feedads.g.doubleclick.net/~a/SjXXZJQjpnkUAJnhq1SFt5C6jlg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SjXXZJQjpnkUAJnhq1SFt5C6jlg/1/da"><img src="http://feedads.g.doubleclick.net/~a/SjXXZJQjpnkUAJnhq1SFt5C6jlg/1/di" border="0" ismap="true"></img></a></p><p>There is a <strong>new version </strong>of Adobe LiveCycle Café, renamed <strong>Adobe Enterprise Café</strong>, available for <a href="http://www.adobe.com/go/cafe/">download</a>. The new version lets you &#8220;aggregate content related to Adobe LiveCycle ES (Enterprise Suite), Acrobat, Connect, ColdFusion, and the Adobe Flash Platform in a timely and customized fashion.&#8221;</p>
<p>If you haven&#8217;t tried this out yet, it&#8217;s a great knowledge tool that lets you search across the entire Adobe Developer Community and <a href="http://www.adobe.com/devnet/">Adobe DevNet</a> resources, as well as get news updates, feeds, online training, events, etc., all in a single <a href="http://www.adobe.com/go/air/">Adobe AIR</a> application. You can even chat with other Adobe Developers who are online.</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/bq1m_Zbmgn0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/06/10/new-livecycle-enterprise-cafe-knowledge-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show the List of a Drop Down List</title>
		<link>http://forms.stefcameron.com/2010/05/31/show-the-list-of-a-drop-down-list/</link>
		<comments>http://forms.stefcameron.com/2010/05/31/show-the-list-of-a-drop-down-list/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 03:06:12 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=548</guid>
		<description><![CDATA[Did you know that the list portion of a drop down list field can be displayed programmatically? You can set focus to the field and force its drop list to be displayed all in a single API call: xfa.host.openList(@object) xfa.host.openList(@string) -- deprecated since XFA 2.6 where @object is a reference to the drop down list [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/SolbTbcnAJPYerHPiLvi2Fhlqiw/0/da"><img src="http://feedads.g.doubleclick.net/~a/SolbTbcnAJPYerHPiLvi2Fhlqiw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SolbTbcnAJPYerHPiLvi2Fhlqiw/1/da"><img src="http://feedads.g.doubleclick.net/~a/SolbTbcnAJPYerHPiLvi2Fhlqiw/1/di" border="0" ismap="true"></img></a></p><p>Did you know that the list portion of a drop down list field can be displayed programmatically? You can set focus to the field and force its drop list to be displayed all in a single API call:</p>
<pre><code>xfa.host.openList(@object)
xfa.host.openList(@string) -- deprecated since XFA 2.6</code></pre>
<p>where @object is a reference to the drop down list field and @string is the SOM expression of the drop down list field.</p>
<pre><code>xfa.host.openList(myDropDownList); // set focus/show the drop list</code></pre>
<p>The second form of the API has been deprecated since XFA 2.6 which means that since Designer 8.1, it is preferred to use the first form which takes a reference to the field rather than its SOM expression.</p>
<p>If you&#8217;re using Designer 8.0 or earlier, you can get the SOM expression of any field by using its <em>somExpression</em> property:</p>
<pre><code>xfa.host.openList(ddlInDesigner71.somExpression)</code></pre>
<p>This works in both JavaScript and FormCalc with the same syntax.</p>
<p>Now if only there was a way to programmatically show the drop calendar of a date/time field&#8230;</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/169b2wQ38LA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/05/31/show-the-list-of-a-drop-down-list/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Border and Margins in Flowed Layouts</title>
		<link>http://forms.stefcameron.com/2010/04/21/border-and-margins-in-flowed-layouts/</link>
		<comments>http://forms.stefcameron.com/2010/04/21/border-and-margins-in-flowed-layouts/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 11:31:48 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=546</guid>
		<description><![CDATA[My friends at Avoka have posted a very useful tutorial on the unexpected behavior of borders in flowed layouts and how to use margins to fix it. Check it out!]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/SivWlSly6SB_nqcd0nnVezAuj-8/0/da"><img src="http://feedads.g.doubleclick.net/~a/SivWlSly6SB_nqcd0nnVezAuj-8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SivWlSly6SB_nqcd0nnVezAuj-8/1/da"><img src="http://feedads.g.doubleclick.net/~a/SivWlSly6SB_nqcd0nnVezAuj-8/1/di" border="0" ismap="true"></img></a></p><p>My friends at <a href="http://www.avoka.com/">Avoka</a> have posted a very useful tutorial on the unexpected behavior of borders in flowed layouts and how to use margins to fix it. <a href="http://www.avoka.com/blog/?p=756">Check it out!</a></p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/_8uDIannn24" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/04/21/border-and-margins-in-flowed-layouts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Post Frequency Change</title>
		<link>http://forms.stefcameron.com/2010/03/18/post-frequency-change/</link>
		<comments>http://forms.stefcameron.com/2010/03/18/post-frequency-change/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 21:14:29 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=529</guid>
		<description><![CDATA[Just a quick note to make you aware that while I may not be posting very frequently for the time being, I am still actively responding to your questions via comments. Excerpts of the 10 most recent comments are now conveniently located directly on the home page, in case you want to see the latest [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/exhFEl9D1PK9-pHWhZdZf6skHwY/0/da"><img src="http://feedads.g.doubleclick.net/~a/exhFEl9D1PK9-pHWhZdZf6skHwY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/exhFEl9D1PK9-pHWhZdZf6skHwY/1/da"><img src="http://feedads.g.doubleclick.net/~a/exhFEl9D1PK9-pHWhZdZf6skHwY/1/di" border="0" ismap="true"></img></a></p><p>Just a quick note to make you aware that while I may not be posting very frequently for the time being, I am still actively responding to your questions via comments.</p>
<p>Excerpts of the 10 most recent comments are now conveniently located directly on the <a href="http://forms.stefcameron.com/">home page</a>, in case you want to see the latest activity.</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/Wlm3vjqO7tI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/03/18/post-frequency-change/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Acrobat JavaScript Debugger on XFA Forms</title>
		<link>http://forms.stefcameron.com/2010/03/12/acrobat-javascript-debugger-on-xfa-forms/</link>
		<comments>http://forms.stefcameron.com/2010/03/12/acrobat-javascript-debugger-on-xfa-forms/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 17:14:30 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=526</guid>
		<description><![CDATA[Many of you have been requesting some debugging features for XFA Forms (and I&#8217;m sure many more of you just haven&#8217;t voted for it yet). It so happens that Acrobat Pro has a JavaScript Debugger which can be used &#8212; to a limited extent &#8212; with XFA Forms. See John Brinkman&#8217;s post to learn more [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/JSLszqCM2HemrP8fv1SQ-WbF2u4/0/da"><img src="http://feedads.g.doubleclick.net/~a/JSLszqCM2HemrP8fv1SQ-WbF2u4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JSLszqCM2HemrP8fv1SQ-WbF2u4/1/da"><img src="http://feedads.g.doubleclick.net/~a/JSLszqCM2HemrP8fv1SQ-WbF2u4/1/di" border="0" ismap="true"></img></a></p><p><a href="http://forms.stefcameron.com/featur-o-meter/">Many of you</a> have been requesting some debugging features for XFA Forms (and I&#8217;m sure many more of you just haven&#8217;t voted for it yet). It so happens that Acrobat Pro has a <strong>JavaScript Debugger</strong> which can be used &#8212; to a <strong>limited</strong> extent &#8212; with XFA Forms. See <a href="http://blogs.adobe.com/formfeed/2010/03/using_the_acrobat_javascript_d.html">John Brinkman&#8217;s post</a> to learn more about it &#8212; thanks John!</p>
<p>As he puts it, <strong>there are limitations</strong>, the biggest ones of them being, in my opinion, the inability to debug script objects and the inability to retain breakpoints between debugging sessions. Nonetheless, this tool can give you way more insight than the good old &#8220;<a href="http://forms.stefcameron.com/2006/05/05/debugging-scripts/">JavaScript Console</a> + <a href="http://forms.stefcameron.com/2009/08/19/tip-pretty-xml-strings/">saveXML(&#8216;pretty&#8217;)</a>&#8221; combination can in certain cases, and it does it in a nice tree to boot!</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/XmMYv-TbTgA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/03/12/acrobat-javascript-debugger-on-xfa-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Talk on Database Connected Forms</title>
		<link>http://forms.stefcameron.com/2010/03/10/tech-talk-on-database-connected-forms/</link>
		<comments>http://forms.stefcameron.com/2010/03/10/tech-talk-on-database-connected-forms/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:46:15 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[Data Binding]]></category>
		<category><![CDATA[Designer]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=522</guid>
		<description><![CDATA[Paul Guerette, a colleague of mine at Adobe, will be giving a &#8220;tech talk&#8221; eSeminar on connecting forms to databases over at AcrobatUsers.com on Tuesday, March 23, 2010, at 10am PST (1pm EST). If you have been struggling with connecting a form to a database, are wanting to know what the best practices and/or security [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/m7MVEsIRpn8Q0S5DnUNOUeiyl3Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/m7MVEsIRpn8Q0S5DnUNOUeiyl3Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/m7MVEsIRpn8Q0S5DnUNOUeiyl3Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/m7MVEsIRpn8Q0S5DnUNOUeiyl3Y/1/di" border="0" ismap="true"></img></a></p><p>Paul Guerette, a colleague of mine at <a href="http://adobe.com/">Adobe</a>, will be giving a &#8220;tech talk&#8221; eSeminar on <a href="http://www.acrobatusers.com/events/2220/tech-talk-database-connected-forms">connecting forms to databases</a> over at <a href="http://acrobatusers.com/">AcrobatUsers.com</a> on Tuesday, March 23, 2010, at 10am PST (1pm EST).</p>
<p>If you have been struggling with connecting a form to a database, are wanting to know what the best practices and/or security concerns are, or have some specific questions you would like to ask, I highly recommend you attend the session. It&#8217;s <strong>free</strong> to attend (and free to become a member in order to attend)!</p>
<p>I&#8217;ll be answering chat questions &#8220;live&#8221; as the session unfolds. I hope you can join us!</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/82cSoytDa08" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/03/10/tech-talk-on-database-connected-forms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Disabling All Fields Within a Subform</title>
		<link>http://forms.stefcameron.com/2010/03/08/disabling-all-fields-within-subform/</link>
		<comments>http://forms.stefcameron.com/2010/03/08/disabling-all-fields-within-subform/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 02:27:29 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=513</guid>
		<description><![CDATA[I thought I would point-out a nice improvement that was made to XFA &#60;subform&#62; elements back in XFA 2.8: The addition of the access property. In days of yore, if you wanted to disable all fields and exclusion groups (for the sake of brevity, I&#8217;ll refer to these collectively as &#8220;fields&#8221; in this article) in [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/K6BNDrs4Y5CzDIrI1PZGImrdzck/0/da"><img src="http://feedads.g.doubleclick.net/~a/K6BNDrs4Y5CzDIrI1PZGImrdzck/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/K6BNDrs4Y5CzDIrI1PZGImrdzck/1/da"><img src="http://feedads.g.doubleclick.net/~a/K6BNDrs4Y5CzDIrI1PZGImrdzck/1/di" border="0" ismap="true"></img></a></p><p>I thought I would point-out a nice improvement that was made to XFA &lt;subform&gt; elements back in <a href="http://partners.adobe.com/public/developer/xml/index_arch.html#xfa_28">XFA 2.8</a>: The addition of the <em>access</em> property.</p>
<p>In days of yore, if you wanted to disable all fields and exclusion groups (for the sake of brevity, I&#8217;ll refer to these collectively as &#8220;<em>fields</em>&#8221; in this article) in a particular section of your form, you would&#8217;ve had to write a script that recursively drilled down into all children of that section looking for <em>fields</em> to disable. This is because the access attribute only applied to <em>fields</em>.</p>
<p>With this change, assuming the section in question is contained within a subform, you can now easily disable all <em>fields </em>contained within it simply by setting the <strong>subform</strong>&#8216;s <strong>access attribute</strong> to &#8220;readOnly&#8221;!</p>
<p><span id="more-513"></span>
<p>The following table describes the four levels of restrictiveness (in XFA 2.8, from the highest level to the lowest) that can be imposed on <em>fields</em> using the access attribute, either directly on a <em>field</em> or by a parent subform:</p>
<table border="1" cellspacing="0" cellpadding="4" style="margin-bottom: 18px">
<tbody>
<tr>
<td><strong>Level</strong></td>
<td><strong>Access Value<br />
</strong></td>
<td><strong>Effect</strong></td>
</tr>
<tr>
<td>1</td>
<td><code>nonInteractive</code></td>
<td>Value can be loaded and calculations performed only upon form initialization.</td>
</tr>
<tr>
<td>2</td>
<td><code>protected</code></td>
<td>The user cannot change the value directly and the <em>field</em> does not participate in the tabbing sequence. The <em>field</em> does not generate any events.</td>
</tr>
<tr>
<td>3</td>
<td><code>readOnly</code></td>
<td>While the user may not change the value directly, it may be altered via scripts. The <em>field</em> still participates in the tabbing sequence and all events are generated except those related to direct user interaction.</td>
</tr>
<tr>
<td>4</td>
<td><code>open</code> (default)</td>
<td>The <em>field</em> is fully interactive and responds to direct user interaction.</td>
</tr>
</tbody>
</table>
<p>When a subform imposes restrictions on the <em>fields</em> it contains (meaning all <em>fields</em> within any level of nesting, not just immediate children), the inheritance on child <em>fields</em> and subforms follows that of the most restrictive parent imposition. For example, if a subform imposes access=&#8221;protected&#8221; and a child subform has access=&#8221;readOnly&#8221;, all of the inner subform&#8217;s children, including the inner subform itself, will effectively have a &#8220;protected&#8221; access level.</p>
<p>The explanations of the various access types in the table above are summarized. &#8220;Access Restrictions&#8221; on page 48 of the <a href="http://partners.adobe.com/public/developer/xml/index_arch.html#xfa_28">XFA 2.8 specification</a> has more precise, albeit more technical, explanations of each level of restrictiveness.</p>
<h2>Setting Access by Script</h2>
<p>Setting the access attribute of a <em>field</em> or subform by script is simple, both in JavaScript and FormCalc:</p>
<pre><code>// set access level to read-only:
FormObject.access = "readOnly";</code></pre>
<p>If you wanted to disable all <em>fields </em>in the entire form with a <strong>single line of script</strong>, you would simply set the root subform&#8217;s access attribute to something other than &#8220;open&#8221;, as appropriate:</p>
<pre><code>// if the root subform's name is "form1":
xfa.form.form1.access = "nonInteractive"</code></pre>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/uJpSdMAM6bM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/03/08/disabling-all-fields-within-subform/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Tip: Accessing Form Properties Preview Tab</title>
		<link>http://forms.stefcameron.com/2010/02/11/tip-accessing-form-properties-preview-tab/</link>
		<comments>http://forms.stefcameron.com/2010/02/11/tip-accessing-form-properties-preview-tab/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 17:21:43 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Designer]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/2010/02/11/tip-accessing-form-properties-preview-tab/</guid>
		<description><![CDATA[Did you know you could quickly access the Preview tab in the Form Properties dialog from the PDF Preview tab&#8217;s context menu? My friend Angie Okamoto (Easel Solutions) was the one who originally pointed this out to me. It&#8217;s incredibly useful, especially when you&#8217;re switching between various preview data files (or options like interactive vs [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/M7ivAaxU0EHL_lQWaUDpM7IKJ2w/0/da"><img src="http://feedads.g.doubleclick.net/~a/M7ivAaxU0EHL_lQWaUDpM7IKJ2w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/M7ivAaxU0EHL_lQWaUDpM7IKJ2w/1/da"><img src="http://feedads.g.doubleclick.net/~a/M7ivAaxU0EHL_lQWaUDpM7IKJ2w/1/di" border="0" ismap="true"></img></a></p><p>Did you know you could quickly access the Preview tab in the Form Properties dialog from the PDF Preview tab&#8217;s context menu?</p>
<p>My friend Angie Okamoto (<a href="http://www.easelsolutions.com/">Easel Solutions</a>) was the one who originally pointed this out to me. It&#8217;s incredibly useful, especially when you&#8217;re switching between various preview data files (or options like interactive vs non-interactive), because it loads the dialog and activates the Preview tab in a single step. This saves both mouse travel time and one click which adds-up to a lot, if you do this frequently.</p>
<p><span id="more-500"></span>
<p><strong>Right-click on the PDF Preview tab</strong> to get the context menu:</p>
<p><img src="http://forms.stefcameron.com/images/FormProperties/FormProps-PdfPreviewTab-ContextMenu.jpg"> </p>
<p>Choose &#8220;Form Properties&#8221; and you&#8217;re right on the Preview tab:</p>
<p><img src="http://forms.stefcameron.com/images/FormProperties/FormProps-PreviewTab.jpg"> </p>
<p>Another option is to set a <strong>Shortcut Key </strong>for the Form Properties dialog, though this won&#8217;t auto-select the Preview tab (but still saves some mouse travel and a couple of clicks). You can do this via the &#8220;Tools &gt; Keyboard Shortcuts&#8221; dialog:</p>
<p><img src="http://forms.stefcameron.com/images/FormProperties/FormProps-ShortcutKey.jpg"></p>
<p>Unfortunately, I don&#8217;t recall what version of Designer introduced the PDF Preview tab&#8217;s context menu nor which one added Keyboard Shortcuts but I think both should be available since version 8.0.</p>
<img src="http://feeds.feedburner.com/~r/SConForms/~4/X_4CBDs4XDc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/02/11/tip-accessing-form-properties-preview-tab/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
