<?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>Parth on Livecycle &#187; LiveCycle Designer</title>
	<atom:link href="http://blog.pandyaparth.com/category/livecycle-es/livecycle-designer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pandyaparth.com</link>
	<description>aka - LiveCycle Karma (Personal blog on LiveCycle, Adobe enterprise technologies and innovation)</description>
	<lastBuildDate>Sun, 05 Feb 2012 23:15:17 +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>Easiest way to create powerful LiveCycle forms &#8211; SmartForm Composer</title>
		<link>http://blog.pandyaparth.com/2010/11/smartform-composer/</link>
		<comments>http://blog.pandyaparth.com/2010/11/smartform-composer/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 11:52:34 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle Designer]]></category>
		<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=164</guid>
		<description><![CDATA[If you have found this page while struggling to get something to work in LiveCycle PDF form then you can&#8217;t afford to ignore this article . If you are thinking of creating more than 2 PDF forms for your organisation then this post has something that can save you days, weeks and lots of coffee [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDEwJTJGMTElMkZzbWFydGZvcm0tY29tcG9zZXIlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2010%2F11%2Fsmartform-composer%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<ul>
<li>
<h4>If you have found this page while struggling to get something to work in LiveCycle PDF form then you can&#8217;t afford to ignore this article .</h4>
</li>
<li>
<h4>If you are thinking of creating more than 2 PDF forms for your organisation then this post has something that can save you days, weeks and lots of coffee (Saves you $$$$) !!!</h4>
</li>
</ul>
<p>Anyone who has created PDF forms in Adobe LiveCycle designer can tell that a complex, fully functional, good looking form with lot of fields can be a challenge to get it right in rapid development environment.</p>
<p>Adobe LiveCycle Designer is a powerful tool and has features to create really amazing forms but it has its downside as well. It can be a serious learning curve. This can limit the productivity as only few guys in the IT or development department can do it for business. This doesn&#8217;t scale very well in current economic time as well.</p>
<p>Before I introduce what I think is the easiest and  fastest way to create powrful PDF forms, Let me highlight what I think is causing the most pain when we have to create PDF forms that work with LiveCycle ES or any other data capture and processing system.</p>
<h3>Reason 1: No Pain, No Gain of form requirements saga</h3>
<p>Getting the PDF form specification with details like field validation, mandatory logic, show-hide logic,  tooltip text, look and feel details is a mammoth task. It&#8217;s crucial to get it right BUT it is a challenging to pass on the same requirements to developer. (Imagine at least a 5 pager form with minimum of 100 fields and different look and fill for print and online usage)</p>
<h3>Reason 2: No direct visibility to business into form development activity</h3>
<p>Unless the business analyst or a subject matter expert sits next to the form designer, it is going to be hard to get a decent look and feel in place in the first iteration. Field placement, correct tooltip text, field grouping with correct title on section etc will just take up lot of time before a final version of the form is released. And then comes the small requests like can you change tooltips as per attached document as legal or usability team has amended them!!? So on and so forth&#8230;.it just happens..right?</p>
<h3>Reason 3: Form development in a team</h3>
<p>Forms development in team environment with templates and libraries being shared has its own challenges. Thanks to fragments, so we can update every form that uses it by just opening it and saving again in Designer. But what if a library component needs a change and you have used it 100 times in 20 forms?? The answer&#8230;..Outsourcing/hire a  housewife or uni student!!!! In short, sharing of library and template components, maintaining them and making sure that forms have the most up to date library components is a big exercise for any development team.</p>
<h3>Reason 4: Compliance to standard L&amp;F and bulk update</h3>
<p>I think the reason 4 is self explanatory.</p>
<p>And, my list goes on and on and on&#8230;.. Over the years I&#8217;ve seen so many things that I think can be tackled in much more better and cost effective way. Finally I use a tool that helps me to manage these in a more elegant way.</p>
<h2>The Solution:</h2>
<h2><a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hdm9rYS5jb20vc21hcnRmb3JtLWNvbXBvc2VyLW92ZXJ2aWV3Lmh0bWw=" target=\"_blank\"><span style="color: #3366ff;">Avoka SmartForm Composer</span></a></h2>
<p>I&#8217;ve been fortunate enough to see this product maturing from its inception. The amazing simplicity this product brings into the SmartForm development is never seen before.</p>
<p>It would be just too long blog post if I had to go through my fav features of this tool. But fortunately Howard and his team has put together videos to introduce the features and SmartForm Composer&#8217;s capabilities to give you an idea of this tool. They can be found at <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hdm9rYS5jb20vc21hcnRmb3JtLWNvbXBvc2VyLWZlYXR1cmVzLWFuZC1kZW1vcy5odG1s" target=\"_blank\">here</a>.</p>
<p>I would definitely recommend to watch those videos. It might just change your perception on how easy and quickly you can get a fully functional and yet powerful form without minimal scripting.</p>
<p>Feel free to comment on this post if you want to know all of the reasons why I would prefer this tool over creating a form in designer. I&#8217;ll happily post a new blog entry with them.</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=164" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2010/11/smartform-composer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RichText tricks for TextField in Designer</title>
		<link>http://blog.pandyaparth.com/2009/05/richtext-tricks-for-textfield-in-designer/</link>
		<comments>http://blog.pandyaparth.com/2009/05/richtext-tricks-for-textfield-in-designer/#comments</comments>
		<pubDate>Wed, 20 May 2009 02:35:11 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle Designer]]></category>
		<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LiveCycle Forms]]></category>
		<category><![CDATA[Richtext in Textfield]]></category>

		<guid isPermaLink="false">http://livecyclekarma.wordpress.com/?p=65</guid>
		<description><![CDATA[This post describes a technique to set rich text content into a Textfield of a form that was designed in LiveCycle Designer ES. Thanks to Paul Guerette who helped me out to understand this few months back. There can be two scenarios in which you might want to set content into a rich text supported [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMDUlMkZyaWNodGV4dC10cmlja3MtZm9yLXRleHRmaWVsZC1pbi1kZXNpZ25lciUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F05%2Frichtext-tricks-for-textfield-in-designer%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This post describes a technique to set rich text content into a Textfield of a form that was designed in LiveCycle Designer ES. Thanks to Paul Guerette who helped me out to understand this few months back.</p>
<p>There can be <span style="text-decoration: underline;"><strong>two scenarios</strong></span> in which you might want to set content into a rich text supported Textfield.</p>
<ol>
<li>User types the rich text content into a text field and you wish to copy that to another Textfield.</li>
<li>LiveCycle ES server/some other way you wish to set rich text content into a form field. (Form pre-population scenario)</li>
</ol>
<h2>Where is rich text data in a text field?</h2>
<p>When user types plain text in a pure Textfield (field format: Plain Text Only) then the data is set/get from rawValue property. BUT if the Textfield is having Rich Text as the field format then the data is store at .value.exData</p>
<h2>How to check what the rich text data look like under the covers?</h2>
<p>I use email submit button on a simplest form to see the XML that gets created for submission.</p>
<p>If you wish to do this then:</p>
<ol>
<li>Create a simple dynamic PDF form and put a text field with Rich Text format set to it.</li>
<li>Drop a Submit button and put mailto:someone@abc.com as submit URL</li>
<li>Open this sample form in Preview mode type some text with rich-text formatting (Bold, Italics etc)</li>
<li>Hit the email submit button you would be able to see the exData content as the child element of your Textfield.</li>
</ol>
<p><span id="more-65"></span></p>
<p><span style="text-decoration: underline;">Now let&#8217;s look at above mentioned two scenarios in details:</span></p>
<h2><strong>Scenario 1</strong>: User types the rich text into a field and we want to copy that to another field.</h2>
<p>How to copy rich text from one Textfield to another Text field?</p>
<p>Steps:</p>
<ul>
<li>Get the content out of first text field by this java script</li>
</ul>
<pre>txtInputTextArea.value.exData.saveXML();</pre>
<ul>
<li>Set that value in the destination Textfield&#8217;s exData property.</li>
</ul>
<pre>txtOutput1.value.exData.loadXML(userEnteredRichText,1,1);</pre>
<h2><strong>Scenario 2</strong>: We need to pre-populate the form and the rich text data is not typed in (received from web service call or out of database etc..)</h2>
<p>How to set rich text data into a Textfield?</p>
<p>Steps:</p>
<ul>
<li>Receive the markup data. eg. Hi &lt;b&gt;John&lt;/b&gt;,&lt;br/&gt;Please find application-&lt;i&gt;111&lt;/i&gt; details below.</li>
<li>Have exData &#8216;envelope&#8217; ready in your form and inject the received markup data. (You may have to replace &amp;lt; &amp;gt; values with &lt; , &gt; if received data is having that)</li>
<li>set the &#8216;envelope&#8217; + data into Textfield&#8217;s exData element.</li>
</ul>
<pre>txtOutput1.value.exData.loadXML(cleanedValue,1,1);</pre>
<h3>Note:</h3>
<h3>What is &#8216;envelope&#8217; which is mentioned in this example/blog entry?</h3>
<p>I mentioned &#8216;envelope&#8217; in Scenario 2 explanation which is something that allows me to insert markup data in a form that Textfield is expecting for rich text support.</p>
<p>What I have done in my sample (attached/linked below) is to have another Textfield storing this exData section with namespaces in it. This is what gets generated behind the scenes when user types the rich text content in Textfield.</p>
<p>I have a &#8216;ccc&#8217; string in this whole block where the actual data(markup data) is needed for the Textfield to show that correctly.</p>
<p>So in my form script I use this &#8216;envelop&#8217; to store the exData block and then via script I replace the &#8216;ccc&#8217; value with the markup data that I receive. And then I use this merged xml block to set to the Textfield&#8217;s exData property.</p>
<h2>Download Sample implementation:</h2>
<p>Use this PDF file that has both of these scenarios implemented as a sample.</p>
<p><a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3BhbmR5YXBhcnRoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8wNS9yaWNodGV4dC1zYW1wbGUucGRm" target=\"_blank\">Richtext in Textfield Sample</a></p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=65" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/05/richtext-tricks-for-textfield-in-designer/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

