I am using Adobe Livecycle designer to create some forms which are automatically populated from XML data via a website. I need to know whether there is a way to print the form with the field binding names showing on the form as this would help enormously with the form design / tweaking operation.
Thanks
1. create a new pdf with the correct number of pages and page sizes in the LiveCycle form
2. Walk the fields on the live cycle form. Use the xfa.layout.pageContent() function to grab all the fields on each page.
3. Add AcroForm text fields to the new PDF in the locations and sizes specified by the fields on the original XFA Form.
4. Populate the added fields with the names of the fields on the original XFA Form.
This is very much an Automation/Design script so it has to be privileged. Run from either the JavaScript Console or a Custom Toolbar Button, see [url=http://www.windjack.com/products/acrobuttons.php]AcroButtons[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script