Jun 01 2008
LiveCycle Designer for dummies: Tip 1 – Don’t forget to Save As Adobe Dynamic XML Form
Disease:
From scratch you have created your first PDF Form using Adobe LiveCycle Designer and you have defined an area where you on the fly want to render new form elements (for example an Add button to allow multiple lines of products to be added to an order form by the end user).
You looked at other form examples and learned that you can use scripts like form.subform.instanceManager.addInstance() to create new instances of subforms on the page. However, when you Preview the form the new instance is not added to the page.
Prescription:
The most common mistake – I’ve been there myself – is that newbies forget to save the form as an Adobe Dynamic XML Form.
Tip to stay healthy:
There is a good collection of form samples available from the Adobe LiveCycle Designer Help menu. They are all located in the LiveCycle Designer ES installation folder in the directory \EN\Samples\. Once you get more into scripting your forms you definitely should also check the LiveCycle Designer Scripting Samples that are available at www.adobe.com/devnet/livecycle/designer_scripting_samples.html.
Note – think carefully about using a Dynamic Form if you also plan to use Signatures With LiveCycle ES. A few tips here: http://highway101.wordpress.com/2008/04/27/digital-signatures-es-avoid-the-mines/
Thanks for the addition Gary!