<?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: Seeing the Entire Value</title>
	<atom:link href="http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/</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/07/26/seeing-the-entire-value/#comment-5167</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Tue, 12 Jan 2010 12:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5167</guid>
		<description>Brad,

I would suggest you use the &lt;a href=&quot;http://forms.stefcameron.com/2007/02/01/new-list-object-properties-and-methods/&quot; rel=&quot;nofollow&quot;&gt;list API methods&lt;/a&gt; to dynamically change the text value associated to the selected item when the selection changes (in the Change event).</description>
		<content:encoded><![CDATA[<p>Brad,</p>
<p>I would suggest you use the <a href="http://forms.stefcameron.com/2007/02/01/new-list-object-properties-and-methods/" rel="nofollow">list API methods</a> to dynamically change the text value associated to the selected item when the selection changes (in the Change event).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5166</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 08 Jan 2010 11:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5166</guid>
		<description>Hey Stefan,

I&#039;m attempting to change the displayed/printed value in a drop down list to the value only, and not the entire text..

In my list, I have:

01:Daylight
02:Dawn
03:Dusk
04:Night

I would like the form to present the full-text and numbers to the user, but once selected, only display and print the number (value).

Any ideas on how to make this work?

Thanks!
Brad</description>
		<content:encoded><![CDATA[<p>Hey Stefan,</p>
<p>I&#8217;m attempting to change the displayed/printed value in a drop down list to the value only, and not the entire text..</p>
<p>In my list, I have:</p>
<p>01:Daylight<br />
02:Dawn<br />
03:Dusk<br />
04:Night</p>
<p>I would like the form to present the full-text and numbers to the user, but once selected, only display and print the number (value).</p>
<p>Any ideas on how to make this work?</p>
<p>Thanks!<br />
Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5165</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Tue, 05 Jan 2010 22:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5165</guid>
		<description>Susila,

It sounds like you want to do something similar to what I describe in my tutorial on &lt;a href=&quot;http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/&quot; rel=&quot;nofollow&quot;&gt;testing HTTP submit buttons&lt;/a&gt;...</description>
		<content:encoded><![CDATA[<p>Susila,</p>
<p>It sounds like you want to do something similar to what I describe in my tutorial on <a href="http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/" rel="nofollow">testing HTTP submit buttons</a>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Susila</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5164</link>
		<dc:creator>Susila</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5164</guid>
		<description>Hi Stefan,

How to get the dynamic field values in jsp page using servlet response while clicking the button on the form?</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>How to get the dynamic field values in jsp page using servlet response while clicking the button on the form?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5163</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 19 Nov 2009 17:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5163</guid>
		<description>Cone,

Unfortunately, I don&#039;t believe it&#039;s possible to do what you ask. When you set the font size to zero, Acrobat/Reader manages the font size for you.

If you have a compliant form that can&#039;t allow the field to grow, you might want to consider &lt;a href=&quot;http://forms.stefcameron.com/2008/07/10/auto-splitting-text-between-two-text-fields/&quot; rel=&quot;nofollow&quot;&gt;this solution&lt;/a&gt; which shows how to overflow the text onto a second field on another page in the form (e.g. an appendix page of some sort).</description>
		<content:encoded><![CDATA[<p>Cone,</p>
<p>Unfortunately, I don&#8217;t believe it&#8217;s possible to do what you ask. When you set the font size to zero, Acrobat/Reader manages the font size for you.</p>
<p>If you have a compliant form that can&#8217;t allow the field to grow, you might want to consider <a href="http://forms.stefcameron.com/2008/07/10/auto-splitting-text-between-two-text-fields/" rel="nofollow">this solution</a> which shows how to overflow the text onto a second field on another page in the form (e.g. an appendix page of some sort).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cone</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5162</link>
		<dc:creator>Cone</dc:creator>
		<pubDate>Thu, 12 Nov 2009 21:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5162</guid>
		<description>Hi Stefan,

I have a similiar problem like EBS (24.):
*******
Hello, I have my field set to 0 so the text will auto resize if the user enters alot of characters BUT I would also like the autosize font to start at around font size “10? as default – until the autosizing comes into effect.

My form looks really weird as some fields have a really big font when only a few characters are entered and alot smaller font when alot of characters are entered. The text on the form is completely disproportionate to each other.
*******

I have a also field with text &quot;autosize&quot; and want to combine it with a max/min fontsize. The result should be that the textsize shrinks till a defined size, based on the fontsize, was reached.

Expanding to fit is not a solution, because there is now space to resize the form field himself.

So, is it possible to combine autosize with a max/min fontsize?</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I have a similiar problem like EBS (24.):<br />
*******<br />
Hello, I have my field set to 0 so the text will auto resize if the user enters alot of characters BUT I would also like the autosize font to start at around font size “10? as default – until the autosizing comes into effect.</p>
<p>My form looks really weird as some fields have a really big font when only a few characters are entered and alot smaller font when alot of characters are entered. The text on the form is completely disproportionate to each other.<br />
*******</p>
<p>I have a also field with text &#8220;autosize&#8221; and want to combine it with a max/min fontsize. The result should be that the textsize shrinks till a defined size, based on the fontsize, was reached.</p>
<p>Expanding to fit is not a solution, because there is now space to resize the form field himself.</p>
<p>So, is it possible to combine autosize with a max/min fontsize?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5161</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Wed, 29 Jul 2009 15:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5161</guid>
		<description>Mike,

I&#039;m afraid the zero font size may be something only supported by Acrobat/Reader which means when rendering the form to a static PDF on the server, you won&#039;t get that behaviour. Also, depending on how and when the behaviour (of shrinking the text to fit within the field&#039;s content area) takes place, it&#039;s possible that Acrobat/Reader is required in order to achieve it and Acrobat/Reader doesn&#039;t come into play on the server.

Since you cannot let fields &lt;a href=&quot;http://forms.stefcameron.com/2006/10/31/expanding-to-fit-the-entire-value/&quot; rel=&quot;nofollow&quot;&gt;expand to fit&lt;/a&gt; their values, I would suggest you lower the font size and set the field&#039;s &quot;Object palette &gt; Field tab &gt; Limit Length to Visible Area property&quot; to make sure users can&#039;t enter more text than can visibly fit within the field.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>I&#8217;m afraid the zero font size may be something only supported by Acrobat/Reader which means when rendering the form to a static PDF on the server, you won&#8217;t get that behaviour. Also, depending on how and when the behaviour (of shrinking the text to fit within the field&#8217;s content area) takes place, it&#8217;s possible that Acrobat/Reader is required in order to achieve it and Acrobat/Reader doesn&#8217;t come into play on the server.</p>
<p>Since you cannot let fields <a href="http://forms.stefcameron.com/2006/10/31/expanding-to-fit-the-entire-value/" rel="nofollow">expand to fit</a> their values, I would suggest you lower the font size and set the field&#8217;s &#8220;Object palette > Field tab > Limit Length to Visible Area property&#8221; to make sure users can&#8217;t enter more text than can visibly fit within the field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5160</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 23 Jul 2009 18:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5160</guid>
		<description>Stefan,

I converted an Acrobat form (that uses font size of auto on several fields) to a static XDP.  Changed these fields to use a 0 font size and everything works fine in designer.  Unfortunately the final version of the form is rendered server-side and it appears that LiveCycle ES rendering is unaware of this work-around.  Any ideas?  Also, this is a very busy standard financial form with lots of horizontal and vertical lines that all has to fit on one printed page, so horz and vert expansion is impossible.</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>I converted an Acrobat form (that uses font size of auto on several fields) to a static XDP.  Changed these fields to use a 0 font size and everything works fine in designer.  Unfortunately the final version of the form is rendered server-side and it appears that LiveCycle ES rendering is unaware of this work-around.  Any ideas?  Also, this is a very busy standard financial form with lots of horizontal and vertical lines that all has to fit on one printed page, so horz and vert expansion is impossible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5159</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 09 Jul 2009 03:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5159</guid>
		<description>Ebs,

Sounds like you would be better-off making the fields &lt;a href=&quot;http://forms.stefcameron.com/2006/10/31/expanding-to-fit-the-entire-value/&quot; rel=&quot;nofollow&quot;&gt;expand to fit&lt;/a&gt; their value.</description>
		<content:encoded><![CDATA[<p>Ebs,</p>
<p>Sounds like you would be better-off making the fields <a href="http://forms.stefcameron.com/2006/10/31/expanding-to-fit-the-entire-value/" rel="nofollow">expand to fit</a> their value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/07/26/seeing-the-entire-value/#comment-5158</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 26 Jun 2009 15:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=28#comment-5158</guid>
		<description>Kapil,

While Designer doesn&#039;t let you do it easily, you can actually put a Floating Field Reference inside rich text inside a text field which permits text entry at runtime (in Acrobat/Reader). When you type in the field, the value from the floating field is treated as a single character which flows with the text and can also be deleted (after which the reference is lost, at runtime, because it&#039;s no longer part of the text field&#039;s data).

We do this as part of the Correspondence Generation Building Block within the &lt;a href=&quot;http://forms.stefcameron.com/2008/06/19/correspondence-management/&quot; rel=&quot;nofollow&quot;&gt;Correspondence Management Solution Accelerator&lt;/a&gt;.

Try the following steps:

&lt;ol&gt;
&lt;li&gt;Insert a new text field. Set its &quot;Object palette &gt; Field tab &gt; Field Format property&quot; to &quot;Rich Text&quot; and give the field a default value (anything).&lt;/li&gt;
&lt;li&gt;Insert a new text object. While in edit mode inside the new text object, choose &quot;Insert menu &gt; Floating Field&quot;. Designer creates a new hidden text field and inserts a reference to it inside the text object.&lt;/li&gt;
&lt;li&gt;Switch to XML Source view (&quot;View menu &gt; XML Source&quot;) and select the new text object in the Hierarchy palette in order to find it in the source.&lt;/li&gt;
&lt;li&gt;Look inside for the //exData/body node. This will contain the XHTML (rich text) mark-up for the text object, including a span node that looks like this: &lt;span xfa:embedType=&quot;uri&quot; xfa:embedMode=&quot;raw&quot; xfa:embed=&quot;#floatingField000041&quot;/&gt;. This is the Floating Field Reference to the new hidden text field that was created when you inserted the floating field in a previous step. Select the span node and copy it.&lt;/li&gt;
&lt;li&gt;While still in XML Source, select the text field you inserted (not the Floating Field text field that Designer inserted) from the Hierarchy to jump to its mark-up and look for the //value/exData/body. That&#039;s the XHTML mark-up for the text field&#039;s rich text value. Scroll to the location, in the XHTML, where you want the floating field value to show-up and paste the Floating Field Reference mark-up you copied earlier.&lt;/li&gt;
&lt;li&gt;Switch back to Design View and you should see something like &quot;{TextFieldName}&quot; inside the text field&#039;s content area at the location within the text where you pasted the reference.&lt;/li&gt;
&lt;li&gt;Give a value to the hidden text field (the actual Floating Field).&lt;/li&gt;
&lt;li&gt;Preview the form. You should see the value of the Floating Field inside your text field.&lt;/li&gt;
&lt;/ol&gt;
Now if you want a value from a database to show-up inside your text, just bind the hidden Floating Field (text field) to a node inside an &lt;a href=&quot;http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/&quot; rel=&quot;nofollow&quot;&gt;ODBC data connection&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Kapil,</p>
<p>While Designer doesn&#8217;t let you do it easily, you can actually put a Floating Field Reference inside rich text inside a text field which permits text entry at runtime (in Acrobat/Reader). When you type in the field, the value from the floating field is treated as a single character which flows with the text and can also be deleted (after which the reference is lost, at runtime, because it&#8217;s no longer part of the text field&#8217;s data).</p>
<p>We do this as part of the Correspondence Generation Building Block within the <a href="http://forms.stefcameron.com/2008/06/19/correspondence-management/" rel="nofollow">Correspondence Management Solution Accelerator</a>.</p>
<p>Try the following steps:</p>
<ol>
<li>Insert a new text field. Set its &#8220;Object palette > Field tab > Field Format property&#8221; to &#8220;Rich Text&#8221; and give the field a default value (anything).</li>
<li>Insert a new text object. While in edit mode inside the new text object, choose &#8220;Insert menu > Floating Field&#8221;. Designer creates a new hidden text field and inserts a reference to it inside the text object.</li>
<li>Switch to XML Source view (&#8220;View menu > XML Source&#8221;) and select the new text object in the Hierarchy palette in order to find it in the source.</li>
<li>Look inside for the //exData/body node. This will contain the XHTML (rich text) mark-up for the text object, including a span node that looks like this: &lt;span xfa:embedType=&#8221;uri&#8221; xfa:embedMode=&#8221;raw&#8221; xfa:embed=&#8221;#floatingField000041&#8243;/&gt;. This is the Floating Field Reference to the new hidden text field that was created when you inserted the floating field in a previous step. Select the span node and copy it.</li>
<li>While still in XML Source, select the text field you inserted (not the Floating Field text field that Designer inserted) from the Hierarchy to jump to its mark-up and look for the //value/exData/body. That&#8217;s the XHTML mark-up for the text field&#8217;s rich text value. Scroll to the location, in the XHTML, where you want the floating field value to show-up and paste the Floating Field Reference mark-up you copied earlier.</li>
<li>Switch back to Design View and you should see something like &#8220;{TextFieldName}&#8221; inside the text field&#8217;s content area at the location within the text where you pasted the reference.</li>
<li>Give a value to the hidden text field (the actual Floating Field).</li>
<li>Preview the form. You should see the value of the Floating Field inside your text field.</li>
</ol>
<p>Now if you want a value from a database to show-up inside your text, just bind the hidden Floating Field (text field) to a node inside an <a href="http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/" rel="nofollow">ODBC data connection</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

