<?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: Getting a List&#039;s New Selection</title>
	<atom:link href="http://forms.stefcameron.com/2006/09/23/getting-a-lists-new-selection/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2006/09/23/getting-a-lists-new-selection/</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/09/23/getting-a-lists-new-selection/#comment-5757</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sat, 07 Oct 2006 21:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=44#comment-5757</guid>
		<description>Alessio -- Thanks for that script!</description>
		<content:encoded><![CDATA[<p>Alessio &#8212; Thanks for that script!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessio</title>
		<link>http://forms.stefcameron.com/2006/09/23/getting-a-lists-new-selection/#comment-5756</link>
		<dc:creator>Alessio</dc:creator>
		<pubDate>Sat, 07 Oct 2006 09:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=44#comment-5756</guid>
		<description>OK, I solve the problem...
I put this script in the click event of a button and this button is executed when we exit from the listbox.
Remember that you have to put a default value for the listbox or the script won&#039;t work.
&lt;pre&gt;if ( xfa.form.form1.ListBox1.rawValue != null)
{
  var lbValue = xfa.form.form1.ListBox1.rawValue.split(&quot;\n&quot;);
  var nodeList = xfa.form.form1.ListBox1.resolveNode(&quot;#items&quot;).nodes;
  var lbText = &quot;&quot;;

  for (var j = 0; j Alessio&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>OK, I solve the problem&#8230;<br />
I put this script in the click event of a button and this button is executed when we exit from the listbox.<br />
Remember that you have to put a default value for the listbox or the script won&#8217;t work.</p>
<pre>if ( xfa.form.form1.ListBox1.rawValue != null)
{
  var lbValue = xfa.form.form1.ListBox1.rawValue.split("\n");
  var nodeList = xfa.form.form1.ListBox1.resolveNode("#items").nodes;
  var lbText = "";

  for (var j = 0; j Alessio</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessio</title>
		<link>http://forms.stefcameron.com/2006/09/23/getting-a-lists-new-selection/#comment-5755</link>
		<dc:creator>Alessio</dc:creator>
		<pubDate>Fri, 06 Oct 2006 14:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=44#comment-5755</guid>
		<description>It seems to me that this doesn&#039;t work with multichoice listbox, isn&#039;t it?

Bye,
Alessio</description>
		<content:encoded><![CDATA[<p>It seems to me that this doesn&#8217;t work with multichoice listbox, isn&#8217;t it?</p>
<p>Bye,<br />
Alessio</p>
]]></content:encoded>
	</item>
</channel>
</rss>

