<?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: Presence vs Relevance</title>
	<atom:link href="http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/</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/2007/09/27/presence-vs-relevance/#comment-6860</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sat, 14 Aug 2010 02:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6860</guid>
		<description>@Chris,

Based on my understanding of the spec, I don&#039;t think anything other than &quot;print&quot; can be used in this case. I can see how having custom relevant values could be useful but I don&#039;t think it&#039;s supported by Acrobat/Reader as the XFA agent.</description>
		<content:encoded><![CDATA[<p>@Chris,</p>
<p>Based on my understanding of the spec, I don&#8217;t think anything other than &#8220;print&#8221; can be used in this case. I can see how having custom relevant values could be useful but I don&#8217;t think it&#8217;s supported by Acrobat/Reader as the XFA agent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6859</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 05 Aug 2010 22:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6859</guid>
		<description>Hi Stefan,  Reading the XFA Spec, there&#039;s a section &quot;Concealing Containers Depending on View&quot; which talks about defining your own views under the  element of the configuration .  Can you tell me if these have currently been implemented.  I&#039;ve tried to follow the spec but have so far not had any luck.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Stefan,  Reading the XFA Spec, there&#8217;s a section &#8220;Concealing Containers Depending on View&#8221; which talks about defining your own views under the  element of the configuration .  Can you tell me if these have currently been implemented.  I&#8217;ve tried to follow the spec but have so far not had any luck.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6858</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Wed, 13 Jan 2010 14:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6858</guid>
		<description>Arwin,

You would do this using the Script Editor by adding an xfa.host.messageBox(&quot;&lt;message&gt;&quot;) statement in the object&#039;s (most likely the print button) PostPrint event. The PostPrint event is fired on all objects (that support it) after printing.</description>
		<content:encoded><![CDATA[<p>Arwin,</p>
<p>You would do this using the Script Editor by adding an xfa.host.messageBox(&#8220;&lt;message>&#8221;) statement in the object&#8217;s (most likely the print button) PostPrint event. The PostPrint event is fired on all objects (that support it) after printing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arwin</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6857</link>
		<dc:creator>Arwin</dc:creator>
		<pubDate>Mon, 11 Jan 2010 16:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6857</guid>
		<description>Dear Stefan,

I want to display a post print message, explaining what a user should do after printing the form.

How and where within the XML Source should this be done?

Thanks for your help, I appreciate the effort.</description>
		<content:encoded><![CDATA[<p>Dear Stefan,</p>
<p>I want to display a post print message, explaining what a user should do after printing the form.</p>
<p>How and where within the XML Source should this be done?</p>
<p>Thanks for your help, I appreciate the effort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6856</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Wed, 06 Jan 2010 13:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6856</guid>
		<description>Alvin,

I don&#039;t believe you can achieve this only with the relevant attribute. You&#039;ll need to set the presence to &quot;hidden&quot; on the PrePrint event.</description>
		<content:encoded><![CDATA[<p>Alvin,</p>
<p>I don&#8217;t believe you can achieve this only with the relevant attribute. You&#8217;ll need to set the presence to &#8220;hidden&#8221; on the PrePrint event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alvin</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6855</link>
		<dc:creator>Alvin</dc:creator>
		<pubDate>Wed, 30 Dec 2009 07:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6855</guid>
		<description>Hi Stefan,

I had a try on using relevant as opposed to hiding/showing at pre-print and post-print events. However, it appears that fields that was set with relevant=&quot;-print&quot; were &quot;invisible&quot; on print. Is there a way that we could make the fields &quot;hidden&quot; on print rather than having them &quot;invisible&quot; using the relevant property?</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I had a try on using relevant as opposed to hiding/showing at pre-print and post-print events. However, it appears that fields that was set with relevant=&#8221;-print&#8221; were &#8220;invisible&#8221; on print. Is there a way that we could make the fields &#8220;hidden&#8221; on print rather than having them &#8220;invisible&#8221; using the relevant property?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6854</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Wed, 15 Jul 2009 18:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6854</guid>
		<description>David Joycw,

If you put

&lt;pre&gt;&lt;code&gt;xfa.form.MyForm.MyForm.MyFragment.presence=”hidden”&lt;/code&gt;&lt;/pre&gt;

in your fragment and it gets inserted into a document which has a root subform named &quot;form1&quot; instead of &quot;MyForm&quot;, your script will fail because &quot;MyForm&quot; won&#039;t exist, which could explain why the fragment won&#039;t hide itself.

You didn&#039;t explain under what circumstances the fragment would hide itself but let&#039;s say it was during the form&#039;s initialization sequence if a particular field value was not 1. This is what you could put in the fragment&#039;s Initialize event (Initialize event of the subform that is defined as a fragment):

&lt;pre&gt;&lt;code&gt;// JavaScript:
if (theField.rawValue != 1)
    this.presence = &quot;hidden&quot;;&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>David Joycw,</p>
<p>If you put</p>
<pre><code>xfa.form.MyForm.MyForm.MyFragment.presence=”hidden”</code></pre>
<p>in your fragment and it gets inserted into a document which has a root subform named &#8220;form1&#8243; instead of &#8220;MyForm&#8221;, your script will fail because &#8220;MyForm&#8221; won&#8217;t exist, which could explain why the fragment won&#8217;t hide itself.</p>
<p>You didn&#8217;t explain under what circumstances the fragment would hide itself but let&#8217;s say it was during the form&#8217;s initialization sequence if a particular field value was not 1. This is what you could put in the fragment&#8217;s Initialize event (Initialize event of the subform that is defined as a fragment):</p>
<pre><code>// JavaScript:
if (theField.rawValue != 1)
    this.presence = "hidden";</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Joycw</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6853</link>
		<dc:creator>David Joycw</dc:creator>
		<pubDate>Wed, 08 Jul 2009 07:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6853</guid>
		<description>Hi Stefan,

Maybe you can help me with a query I have around making fragments hidden. I have a form that includes a fragment. I can make the presence of this fragment hidden by specifying the following JavaScript within my form:
xfa.form.MyForm.MyForm.MyFragment.presence=&quot;hidden&quot;
However, my requirements are for the JavaScript to reside within the fragment. However, when I embed corresponding JavaScript in my fragment the fragment always displays when the form is rendered. Would you have an example of how to achieve this?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>Maybe you can help me with a query I have around making fragments hidden. I have a form that includes a fragment. I can make the presence of this fragment hidden by specifying the following JavaScript within my form:<br />
xfa.form.MyForm.MyForm.MyFragment.presence=&#8221;hidden&#8221;<br />
However, my requirements are for the JavaScript to reside within the fragment. However, when I embed corresponding JavaScript in my fragment the fragment always displays when the form is rendered. Would you have an example of how to achieve this?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6852</link>
		<dc:creator>Nicole</dc:creator>
		<pubDate>Thu, 20 Nov 2008 04:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6852</guid>
		<description>Stefan,

Please disregard my last post.  I changed the form to dynamic rather than static and that took care of the problem.

Nicole</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>Please disregard my last post.  I changed the form to dynamic rather than static and that took care of the problem.</p>
<p>Nicole</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole</title>
		<link>http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6851</link>
		<dc:creator>Nicole</dc:creator>
		<pubDate>Thu, 20 Nov 2008 04:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/09/27/presence-vs-relevance/#comment-6851</guid>
		<description>Stefan,

I&#039;m working a form where I have a drop-down list at the top of the form where the users select their name and other fields are automatically filled in.  This part works just fine.  However, I am trying to make the drop-down list box disappear after the selection has been made and the user has selected &quot;yes&quot; from the confirmation box.  The confirmation box works, too.  However, the if statement that I put in after the confirmation box script only works in part.  It is supposed to make the entire drop-down list box disappear if the user chooses &quot;yes&quot; that they have made the correct choice in names.  The problem is this:  the content area appears to disappear, but the caption stays behind.  No matter what I try, it will not disappear with the content area.  This code has worked on another form, but will not work on this one.

 topmostSubform.Page1.officerSetupBox::exit - (JavaScript, client)
//Message box asking for confirmation that the intended choice was selected. 1=icon listed on message box, 2=yes and no button displayed.
//Answer selected put into variable called confirm
var confirm = xfa.host.messageBox(&quot;Is this the officer you wish to select?&quot;, &quot;Confirmation&quot;, 1, 2)
//If the answer is yes make box disappear; 4=yes;
if (confirm==4)
{officerSetupBox.presence=&quot;invisible&quot;;}


What am I missing here and why would this work in one form but not another?   I&#039;ve come across that several times.

Any help would be appreciated.  I&#039;m not finding any help in any of the resources I have looked at.

Nicole</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>I&#8217;m working a form where I have a drop-down list at the top of the form where the users select their name and other fields are automatically filled in.  This part works just fine.  However, I am trying to make the drop-down list box disappear after the selection has been made and the user has selected &#8220;yes&#8221; from the confirmation box.  The confirmation box works, too.  However, the if statement that I put in after the confirmation box script only works in part.  It is supposed to make the entire drop-down list box disappear if the user chooses &#8220;yes&#8221; that they have made the correct choice in names.  The problem is this:  the content area appears to disappear, but the caption stays behind.  No matter what I try, it will not disappear with the content area.  This code has worked on another form, but will not work on this one.</p>
<p> topmostSubform.Page1.officerSetupBox::exit &#8211; (JavaScript, client)<br />
//Message box asking for confirmation that the intended choice was selected. 1=icon listed on message box, 2=yes and no button displayed.<br />
//Answer selected put into variable called confirm<br />
var confirm = xfa.host.messageBox(&#8220;Is this the officer you wish to select?&#8221;, &#8220;Confirmation&#8221;, 1, 2)<br />
//If the answer is yes make box disappear; 4=yes;<br />
if (confirm==4)<br />
{officerSetupBox.presence=&#8221;invisible&#8221;;}</p>
<p>What am I missing here and why would this work in one form but not another?   I&#8217;ve come across that several times.</p>
<p>Any help would be appreciated.  I&#8217;m not finding any help in any of the resources I have looked at.</p>
<p>Nicole</p>
]]></content:encoded>
	</item>
</channel>
</rss>

