<?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: Acrobat Pro 9 with Designer 8.2 now available!</title>
	<atom:link href="http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<pubDate>Sat, 22 Nov 2008 22:27:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-32526</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Tue, 04 Nov 2008 21:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-32526</guid>
		<description>Blair,

Use a regular button, set it's "Object palette &gt; Control Type property" to "Submit" (a "Submit" tab will appear in the Object palette at this point), then set the "Object palette &gt; Submit tab &gt; Submit As property" to "PDF".

Note, however, that submitting the PDF is akin to saving the PDF, functionality that is not available by default in the free Adobe Reader. In order to export data in the PDF format in the free Reader, you'll need to extend your PDF using Adobe LiveCycle Reader Extensions.</description>
		<content:encoded><![CDATA[<p>Blair,</p>
<p>Use a regular button, set it&#8217;s &#8220;Object palette > Control Type property&#8221; to &#8220;Submit&#8221; (a &#8220;Submit&#8221; tab will appear in the Object palette at this point), then set the &#8220;Object palette > Submit tab > Submit As property&#8221; to &#8220;PDF&#8221;.</p>
<p>Note, however, that submitting the PDF is akin to saving the PDF, functionality that is not available by default in the free Adobe Reader. In order to export data in the PDF format in the free Reader, you&#8217;ll need to extend your PDF using Adobe LiveCycle Reader Extensions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blair</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-32130</link>
		<dc:creator>Blair</dc:creator>
		<pubDate>Mon, 27 Oct 2008 19:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-32130</guid>
		<description>i am using  livecycle desinger 8.0 for the first time and just want my returned files to be in pdf format instead of the .xml format. how can i do this?</description>
		<content:encoded><![CDATA[<p>i am using  livecycle desinger 8.0 for the first time and just want my returned files to be in pdf format instead of the .xml format. how can i do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-29738</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 25 Sep 2008 02:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-29738</guid>
		<description>Steve Pence,

Have you tried having a look at what the items in the list look like after the oDB.open() call is executed? Perhaps the items aren't what you think they are?

You could place a button on your form with the following script in its Click event (using the &lt;a href="http://forms.stefcameron.com/2007/02/01/new-list-object-properties-and-methods/" rel="nofollow"&gt;list object API&lt;/a&gt; where "myList" is the name of your list object):

&lt;pre&gt;&lt;code&gt;console.println("myList contains " + myList.length + " items:");

for (var i = 0; i &lt; myList.length; i++)
{
    console.println("item " + i + ": " + myList.getDisplayItem(i) + " / " + myList.getSaveItem(i));
}&lt;/code&gt;&lt;/pre&gt;

Run your form, open the database connection, click on the button and then press "Ctrl + J" in Acrobat to show the JavaScript console. In there, you should see something like this:

&lt;pre&gt;&lt;code&gt;myList contains 2 items:
item 0: text1 / value1
item 1: text2 / value2&lt;/code&gt;&lt;/pre&gt;

which would show you what items are in the list. Are there any items? Do they have the values you're expecting?</description>
		<content:encoded><![CDATA[<p>Steve Pence,</p>
<p>Have you tried having a look at what the items in the list look like after the oDB.open() call is executed? Perhaps the items aren&#8217;t what you think they are?</p>
<p>You could place a button on your form with the following script in its Click event (using the <a href="http://forms.stefcameron.com/2007/02/01/new-list-object-properties-and-methods/" rel="nofollow">list object API</a> where &#8220;myList&#8221; is the name of your list object):</p>
<pre><code>console.println("myList contains " + myList.length + " items:");

for (var i = 0; i < myList.length; i++)
{
    console.println("item " + i + ": " + myList.getDisplayItem(i) + " / " + myList.getSaveItem(i));
}</code></code></pre>
<p>Run your form, open the database connection, click on the button and then press &#8220;Ctrl + J&#8221; in Acrobat to show the JavaScript console. In there, you should see something like this:</p>
<pre><code>myList contains 2 items:
item 0: text1 / value1
item 1: text2 / value2</code></pre>
<p>which would show you what items are in the list. Are there any items? Do they have the values you&#8217;re expecting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Pence</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-29037</link>
		<dc:creator>Steve Pence</dc:creator>
		<pubDate>Mon, 15 Sep 2008 22:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-29037</guid>
		<description>Hi Stefan,

I have tried the loop on another computer and it works there. Sorry about that. I stll have the failure when the oDB.open(); is executed though.

Thanks,
Steve</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I have tried the loop on another computer and it works there. Sorry about that. I stll have the failure when the oDB.open(); is executed though.</p>
<p>Thanks,<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Pence</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-29036</link>
		<dc:creator>Steve Pence</dc:creator>
		<pubDate>Mon, 15 Sep 2008 21:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-29036</guid>
		<description>Stefan,

Thank you for your reply and this website. They have been very helpful.

I have tried your suggestions but unfortunately still have the same issues. The problem I am seeing can be reduced to a simple 
test. I am using WinXP SP3 with LiveCycle 8.2 and Acrobat 9 pro extended. 
I use a blank form and add a Standard ListBox and a Textfield. 

In the initialize event for the listbox I add the following code,

this.addItem("test","it");

In the change event for the list box I add this code,

TextField1.rawValue = this.boundItem(xfa.event.newText);

When I preview the form it shows the "test" displayed in the listbox and when I select "test" in the list box it displays "it" in the Textfield1 box.

This is working as it should. The problem occurs when you place the addItem in a loop.

var i;

for( i=0; i&#60;10;i++){

this.addItem("test","it");
}

The result of this loop is to fill the listbox with 10 test choices, but when I select them there is no value appearing in the TextField box. 

This is the same problem I find when I try to use the custom drop down list. I have found that when the oDB.open(); command is executed the 
addItem fails in the same way.

Am I missing something basic here or is this a major bug?

Thanks for your help Stefan.

Steve</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>Thank you for your reply and this website. They have been very helpful.</p>
<p>I have tried your suggestions but unfortunately still have the same issues. The problem I am seeing can be reduced to a simple<br />
test. I am using WinXP SP3 with LiveCycle 8.2 and Acrobat 9 pro extended.<br />
I use a blank form and add a Standard ListBox and a Textfield. </p>
<p>In the initialize event for the listbox I add the following code,</p>
<p>this.addItem(&#8221;test&#8221;,&#8221;it&#8221;);</p>
<p>In the change event for the list box I add this code,</p>
<p>TextField1.rawValue = this.boundItem(xfa.event.newText);</p>
<p>When I preview the form it shows the &#8220;test&#8221; displayed in the listbox and when I select &#8220;test&#8221; in the list box it displays &#8220;it&#8221; in the Textfield1 box.</p>
<p>This is working as it should. The problem occurs when you place the addItem in a loop.</p>
<p>var i;</p>
<p>for( i=0; i&lt;10;i++){</p>
<p>this.addItem(&#8221;test&#8221;,&#8221;it&#8221;);<br />
}</p>
<p>The result of this loop is to fill the listbox with 10 test choices, but when I select them there is no value appearing in the TextField box. </p>
<p>This is the same problem I find when I try to use the custom drop down list. I have found that when the oDB.open(); command is executed the<br />
addItem fails in the same way.</p>
<p>Am I missing something basic here or is this a major bug?</p>
<p>Thanks for your help Stefan.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28896</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 12 Sep 2008 20:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28896</guid>
		<description>Steve Pence,

Unfortunately, the probem isn't readily apparent to me although I will point-out two things: First, if your script language is set to "JavaScript" (which I recommend using over FormCalc), you cannot use "$" in your scripts. You need to use the "this" keyword to refer to the object in context. So

&lt;pre&gt;&lt;code&gt;this.boundItem(xfa.event.newText);&lt;/code&gt;&lt;/pre&gt;

is the correct way to access the bound item of the new selection in a list object's Change event.

Second, since you're using Designer 8.2 and Acrobat 9, you could try using the new &lt;a href="http://forms.stefcameron.com/2007/02/01/new-list-object-properties-and-methods/" rel="nofollow"&gt;List Object API&lt;/a&gt;, available since Acrobat 8, to access the bound item and also to verify the structure of the drop down list.</description>
		<content:encoded><![CDATA[<p>Steve Pence,</p>
<p>Unfortunately, the probem isn&#8217;t readily apparent to me although I will point-out two things: First, if your script language is set to &#8220;JavaScript&#8221; (which I recommend using over FormCalc), you cannot use &#8220;$&#8221; in your scripts. You need to use the &#8220;this&#8221; keyword to refer to the object in context. So</p>
<pre><code>this.boundItem(xfa.event.newText);</code></pre>
<p>is the correct way to access the bound item of the new selection in a list object&#8217;s Change event.</p>
<p>Second, since you&#8217;re using Designer 8.2 and Acrobat 9, you could try using the new <a href="http://forms.stefcameron.com/2007/02/01/new-list-object-properties-and-methods/" rel="nofollow">List Object API</a>, available since Acrobat 8, to access the bound item and also to verify the structure of the drop down list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28885</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 12 Sep 2008 19:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28885</guid>
		<description>Andi Mitchell,

You're close. Try this, and &lt;b&gt;make sure the script language is set as "JavaScript"&lt;/b&gt; (FormCalc is the default):

&lt;pre&gt;&lt;code&gt;if (this.rawValue == null &#124;&#124; this.rawValue.length == 0)
    this.presence = "hidden";&lt;/code&gt;&lt;/pre&gt;

This will check to see if the value of the field is null (no value specified) or if it's an empty string (length == 0). If either of those conditions are true, the text field's presence will be set to "hidden".</description>
		<content:encoded><![CDATA[<p>Andi Mitchell,</p>
<p>You&#8217;re close. Try this, and <b>make sure the script language is set as &#8220;JavaScript&#8221;</b> (FormCalc is the default):</p>
<pre><code>if (this.rawValue == null || this.rawValue.length == 0)
    this.presence = "hidden";</code></pre>
<p>This will check to see if the value of the field is null (no value specified) or if it&#8217;s an empty string (length == 0). If either of those conditions are true, the text field&#8217;s presence will be set to &#8220;hidden&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Pence</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28843</link>
		<dc:creator>Steve Pence</dc:creator>
		<pubDate>Thu, 11 Sep 2008 20:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28843</guid>
		<description>Hi Stefan,
I am trying to follow your select specific DB records tutorial. 
I am using Livecycle 8.2 with the Adobe pro extended versioon of acrobat.
I can connect to my database (Access 2007) and I select a table to populate my drop down list.
I use the custom drop down list and replace the database connection, hidden name, text name with my particular info.
I preview the form and I can see the text names in the drop down list and select them without any problem.
When I go to the change event and use the xfa.event.newText to view the selected text, it populates a textfield with 
the selected text in the drop down list.
Everything works as I would expect up to this point.
When I try to view the hidden value of the selected text, I get a blank(Empty) field.
I use Textfield2.rawValue = $.boundItem(xfa.event.newText) and have tried Textfield.rawValue=this.boundItem(xfa.event.newText).
I have looked at the values being presented to the addItem in the initialize event and both are being presented to the addItem.
It seems as if the value is getting lost or is made empty.
This seems so simple...can you explain why it would not work. How would I know if the addItem is doing it's job creating the two columns
or the boundItem is failing to read the value column?
Thanks for your help
Steve</description>
		<content:encoded><![CDATA[<p>Hi Stefan,<br />
I am trying to follow your select specific DB records tutorial.<br />
I am using Livecycle 8.2 with the Adobe pro extended versioon of acrobat.<br />
I can connect to my database (Access 2007) and I select a table to populate my drop down list.<br />
I use the custom drop down list and replace the database connection, hidden name, text name with my particular info.<br />
I preview the form and I can see the text names in the drop down list and select them without any problem.<br />
When I go to the change event and use the xfa.event.newText to view the selected text, it populates a textfield with<br />
the selected text in the drop down list.<br />
Everything works as I would expect up to this point.<br />
When I try to view the hidden value of the selected text, I get a blank(Empty) field.<br />
I use Textfield2.rawValue = $.boundItem(xfa.event.newText) and have tried Textfield.rawValue=this.boundItem(xfa.event.newText).<br />
I have looked at the values being presented to the addItem in the initialize event and both are being presented to the addItem.<br />
It seems as if the value is getting lost or is made empty.<br />
This seems so simple&#8230;can you explain why it would not work. How would I know if the addItem is doing it&#8217;s job creating the two columns<br />
or the boundItem is failing to read the value column?<br />
Thanks for your help<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andi Mitchell</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28440</link>
		<dc:creator>Andi Mitchell</dc:creator>
		<pubDate>Fri, 05 Sep 2008 18:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-28440</guid>
		<description>Hi Stefan,

I'm having difficulty with an issue and would appreciate any assistance you might be willing to provide.

I'm trying to hide blank text field from printing.  I have no problem hiding other types of fields - I just can't figure out how to hide a text field.  I've inquired on the Designer ES forum, but the response did not work either.

I’ve tried the following JavaScript on the Preprint option to no avail: 

if {this.rawValue == " "} this.presence = "hidden"; 

if {this.rawValue == Null} this.presence = "hidden"; 

if {this.rawValue == Null()} this.presence = "hidden";

if (this.rawValue == “”) {field.presence= “hidden”};  (from Adobe Forum)

Thanks!

Andi</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I&#8217;m having difficulty with an issue and would appreciate any assistance you might be willing to provide.</p>
<p>I&#8217;m trying to hide blank text field from printing.  I have no problem hiding other types of fields - I just can&#8217;t figure out how to hide a text field.  I&#8217;ve inquired on the Designer ES forum, but the response did not work either.</p>
<p>I’ve tried the following JavaScript on the Preprint option to no avail: </p>
<p>if {this.rawValue == &#8221; &#8220;} this.presence = &#8220;hidden&#8221;; </p>
<p>if {this.rawValue == Null} this.presence = &#8220;hidden&#8221;; </p>
<p>if {this.rawValue == Null()} this.presence = &#8220;hidden&#8221;;</p>
<p>if (this.rawValue == “”) {field.presence= “hidden”};  (from Adobe Forum)</p>
<p>Thanks!</p>
<p>Andi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-27240</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 25 Aug 2008 20:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2008/07/03/acrobat-pro-9-with-designer-82-now-available/#comment-27240</guid>
		<description>Debbie Freshwater,

Unfortunately, the problem is that the free Reader cannot, on its own, connect to a database and &lt;a href="http://forms.stefcameron.com/2006/08/12/importing-data-in-acrobat/" rel="nofollow"&gt;import/export data&lt;/a&gt;. This functionality must be either (1) enabled in the PDF using &lt;a href="http://www.adobe.com/products/livecycle/readerextensions/" rel="nofollow"&gt;LiveCycle Reader Extensions ES&lt;/a&gt; or (2) supported on the server with &lt;a href="http://www.adobe.com/products/livecycle/forms/" rel="nofollow"&gt;LiveCycle Forms ES&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Debbie Freshwater,</p>
<p>Unfortunately, the problem is that the free Reader cannot, on its own, connect to a database and <a href="http://forms.stefcameron.com/2006/08/12/importing-data-in-acrobat/" rel="nofollow">import/export data</a>. This functionality must be either (1) enabled in the PDF using <a href="http://www.adobe.com/products/livecycle/readerextensions/" rel="nofollow">LiveCycle Reader Extensions ES</a> or (2) supported on the server with <a href="http://www.adobe.com/products/livecycle/forms/" rel="nofollow">LiveCycle Forms ES</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
