I've created a Pro 8 form with a table on the last page which will allow user to input info re a location (address, contacts, etc.). I want to put some sort of a button after the table that will allow the user to insert an additional table (as many as needed) to put in info on additional locations. How do I do this?
There are quite a few things that need to be set up correctly in order for a set of fields to be repeatable, but the key piece is a single line of code you'll need for the button's click actions. It should look something like this.
MySubform.instanceManager.addInstance();
The architecture of these forms is not obvious and you need to read a bit and may even need to get some professional help to get it right. The terminalogy is also not obvious. You want to look for information on LiveCycle Designer and XFA Forms. You'll see quite a bit about "LiveCycle" and "LiveCycle ES". This is not the same and can be very confusing. Make sure anything you read is specifically about the "Designer", and about creating forms.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script