<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Stefan Cameron on Forms &#187; XFA</title>
	<atom:link href="http://forms.stefcameron.com/category/xfa/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Wed, 16 Feb 2011 22:56:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Final Post: XFA Tank Wars</title>
		<link>http://forms.stefcameron.com/2010/12/03/final-post-xfa-tank-wars/</link>
		<comments>http://forms.stefcameron.com/2010/12/03/final-post-xfa-tank-wars/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 22:00:42 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Instance Manager]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=602</guid>
		<description><![CDATA[Dear Readers and Fellow Form Developers, The time has come for me to focus my extra energy on other goals and projects at Adobe and at home. I have thoroughly enjoyed helping the XFA community for these past 4.5 years. All of the content on this blog was a direct result of your questions and [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Readers and Fellow Form Developers,</p>
<p>The time has come for me to focus my extra energy on other goals and projects at Adobe and at home.</p>
<p>I have thoroughly enjoyed helping the XFA community for these past 4.5 years. All of the content on this blog was a direct result of your questions and I learned a great deal about Adobe&#8217;s <a href="http://partners.adobe.com/public/developer/xml/index_arch.html">XFA technology</a> and its <a href="http://adobe.com/go/livecycle">LiveCycle Enterprise Suite</a> along the way. <strong>Thank you!</strong></p>
<p>I leave you now with a final &#8220;form to end all forms&#8221; (in my mind, anyway): A version of the classic <a href="http://forms.stefcameron.com/xfa-tank-wars/">Tank Wars game</a> implemented entirely in XFA + JavaScript.</p>
<p>Why do this, you wonder? Well, it was a good challenge, you couldn&#8217;t embed <a href="http://blogs.adobe.com/formfeed/2010/12/flash-in-xfa-sample-column-chart.html">Flash in an XFA form</a> back then and I wanted to do something that would really put LiveCycle Designer&#8217;s Script Editor through its usability paces.</p>
<p>Comments are now closed on all posts and pages except for this one and the <a href="http://forms.stefcameron.com/xfa-tank-wars/">XFA Tank Wars</a> page which will close on December 31, 2010. I will continue to host this blog for your reference and bookmarks however I cannot guarantee it will be available forever.</p>
<p>Good luck on all your present and future form development projects.</p>
<p>Stefan</p>
]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/12/03/final-post-xfa-tank-wars/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<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>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>
]]></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>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>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>
]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/05/31/show-the-list-of-a-drop-down-list/feed/</wfw:commentRss>
		<slash:comments>4</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>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>
]]></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>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://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>
]]></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>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>
]]></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>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>
]]></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: Inserting Line Breaks in Text</title>
		<link>http://forms.stefcameron.com/2010/01/29/tip-inserting-line-breaks-in-text/</link>
		<comments>http://forms.stefcameron.com/2010/01/29/tip-inserting-line-breaks-in-text/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 16:51:01 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[Designer]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/?p=495</guid>
		<description><![CDATA[Did you know that you could insert a line break, as opposed to a paragraph break, in between two lines in a text object using the [Shift + Enter] keyboard sequence? When editing the contents of a text object, pressing the [Enter] key will produce a paragraph break which means that any Above and/or Below [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know that you could insert a line break, as opposed to a paragraph break, in between two lines in a text object using the [Shift + Enter] keyboard sequence?
<p>When editing the contents of a text object, pressing the [Enter] key will produce a paragraph break which means that any Above and/or Below Spacing you have specified will come into effect, amongst other paragraph formatting-related properties. Under the hood, the effect is the insertion of a &#8220;new line&#8221; character (\n) in a plain text object or a new &lt;p&gt; tag in a rich (XHTML) text object.</p>
<p>Sometimes, however, you need to break a line <em>without</em> producing a new paragraph. For example, you might have a long URL to insert and, given its position within the contents, it ends-up being broken onto another line and you would prefer to keep it on a single line, yet part of the same paragraph. To do this, use the [Shift + Enter] keyboard sequence. The result is a &#8220;soft&#8221; break to another line without moving to a new paragraph. Under the hood, this translates into the insertion of a U+2029 Unicode break character in plain text or a &lt;br&gt; tag in rich (XHTML) text.</p>
<p>Those of you using a version of Designer which precedes the 8.2.1 release should note that when using [Shift + Enter] in a plain text object, the contents of the object gets converted into rich text since previous versions of Designer would always use the &lt;br&gt; tag to denote a line break. Designer 8.2.1 coincided with the release of Acrobat/Reader 9.0 which provided improvements to the Text Engine in order to support the plain text U+2029 Unicode break character.</p>
<p><span id="more-495"></span></p>
<h2>Line Breaks in Acrobat/Reader</h2>
<p>What I describe above relates to the <em>authoring</em> experience in Designer. Inserting line breaks (as opposed to paragraph breaks) while <em>filling</em> a form in Acrobat/Reader is different. <a href="http://blogs.adobe.com/formfeed/">John Brinkman</a> explains the &#8220;why and how&#8221; in <a href="http://blogs.adobe.com/formfeed/2009/01/paragraph_breaks_in_plain_text.html">this post</a>.</p>
<h2>Sample Form</h2>
<p><a href="http://forms.stefcameron.com/samples/TextBreaks.pdf">Download Sample [pdf]</a>
<p>I have included a sample for that demonstrates the different types of breaks in both plain and rich text objects. I also included a text field that has a multi-line rich text caption (the contents of the rich text object) and a multi-line default value (the contents of the plain text object), both using paragraph and line breaks. (If you&#8217;re wondering how I got those values into the caption and default value properties, I used good old Copy &amp; Paste in both cases.)</p>
<p><strong>Minimum Sample Requirements:</strong> I authored this sample using Designer 8.2.1.2 and Acrobat 9.3. It should work back to Acrobat 9.0. I&#8217;m unsure of the results in earlier versions of Designer and Acrobat due to the use of the U+2029 character in plain text.</p>
]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2010/01/29/tip-inserting-line-breaks-in-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing HTTP Submit Buttons</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/</link>
		<comments>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 18:08:08 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[Data Binding]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/</guid>
		<description><![CDATA[While recently helping a few people with some issues related to HTTP submissions from XFA forms, I ended-up creating new Data Service that helps with testing HTTP Submit Buttons. The service is quite simple: It displays what you submit to it. Since Designer&#8217;s &#8220;PDF Preview&#8221; tab is actually an instance of Internet Explorer hosting a [...]]]></description>
			<content:encoded><![CDATA[<p>While recently helping a few people with some issues related to HTTP submissions from XFA forms, I ended-up creating new <a href="http://forms.stefcameron.com/data-services/">Data Service</a> that helps with <a href="http://forms.stefcameron.com/services/http-submit-test/">testing HTTP Submit Buttons</a>.</p>
<p>The service is quite simple: It displays what you submit to it. Since Designer&#8217;s &#8220;PDF Preview&#8221; tab is actually an instance of Internet Explorer hosting a PDF version of the form you&#8217;re previewing (a temporary PDF if your form is saved as an XDP or is new), the results are conveniently displayed within the tab itself after clicking on the submit button.</p>
<p>To use the service, simply use either an http submit button (or a regular button with its &#8220;Object palette &gt; Field tab &gt; Control Type property&#8221; set to &#8220;Submit&#8221;) and set its URL to:</p>
<p><a href="http://forms.stefcameron.com/services/http-submit-test/">http://forms.stefcameron.com/services/http-submit-test/</a></p>
<p>The idea is to use this service as a means to test/debug your forms before spending time writing the actual server code that will receive the data. You can also use it to ensure that you are submitting the correct data to a third-party service (for which you don&#8217;t control the server-side code).</p>
<p><span id="more-484"></span><br />
<h2>Choosing a Submit Format</h2>
<p>HTTP submissions can be made in various formats: XML, XDP, URL-encoded (HTTP post), and PDF. If you are using Reader instead of Acrobat, you will not be able to submit in PDF format unless you have enabled this ability using <a href="http://www.adobe.com/products/livecycle/readerextensions/">LC Reader Extensions</a>.</p>
<p>The most important difference amongst the formats is that <strong>repeating data sets cannot be submitted using URL-encoding</strong> (HTTP post). This is due to the way the data is submitted: In HTTP post directives, data is submitted in &#8220;name=value&#8221; pairs. Since repeating data sets involve hierarchy and duplicate data node names, only the last instance of the repeating set will be submitted.</p>
<p>To submit repeating data sets, you must choose either XML, XDP or PDF as the data format.</p>
<h2>Sample Form</h2>
<p>The following sample form demonstrates the use of the HTTP Submit Test service.</p>
<p><a href="http://forms.stefcameron.com/samples/data-binding/HttpSubmitTest.pdf">Download Sample [pdf]</a>
<p>The form has a typical address block as well as a table to demonstrate both static and repeating data sets. Use the submit buttons to try submitting in different formats (XML, XDP, PDF, URL-encoded). Notice how only the last table row is submitted when using the URL-encoded (&#8220;post&#8221;) submit button.
<p><strong>Minimum Sample Requirements:</strong> I created this sample using Designer 9.0 and Acrobat 9.2 however it should work fine back to Acrobat 7.0.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>XFA 3.1 Spec Now Available</title>
		<link>http://forms.stefcameron.com/2009/12/01/xfa-3-1-spec-now-available/</link>
		<comments>http://forms.stefcameron.com/2009/12/01/xfa-3-1-spec-now-available/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 12:47:49 +0000</pubDate>
		<dc:creator>Stefan Cameron</dc:creator>
				<category><![CDATA[XFA]]></category>

		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/01/xfa-3-1-spec-now-available/</guid>
		<description><![CDATA[The XFA 3.1 specification is now available. Note that while XFA 3.1 is supported by ES2, Reader and Acrobat will not support it until a future release. Therefore, you may want to stick with XFA 3.0 for the time being, unless you have a specific need for XFA 3.1 features within an ES2 environment. Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://partners.adobe.com/public/developer/xml/index_arch.html#xfa_31">XFA 3.1 specification</a> is now available. Note that while XFA 3.1 is supported by ES2, Reader and Acrobat will not support it until a future release. Therefore, you may want to stick with <a href="http://forms.stefcameron.com/2009/03/24/xfa-30-specification-available/">XFA 3.0</a> for the time being, unless you have a specific need for XFA 3.1 features within an ES2 environment.</p>
<p>Here&#8217;s a short list of what&#8217;s new in XFA 3.1:</p>
<ul>
<li>relational data support for data containing multiple tables related by keys;</li>
<li>ability to bind to non-schema-defined elements (i.e. data injection into a schema data description);</li>
<li>long or short edge duplexing; and</li>
<li>support for more label printers, including Datamax Printer Language (DPL), Intermex Printer Language (IPL), and Tally Compressed Printer Language (TCPL).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://forms.stefcameron.com/2009/12/01/xfa-3-1-spec-now-available/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

