- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Quick question before I give up on this. Can I only add tables in this manner. I am trying a simple file right now untill I understand how to do it. I create a file that contains a button (which will be used for adding an extra drop down list) and a drop down list. I did not include a second button to remove the section.
I then select the button and in the Script window add the:
// Invoke the Instance Manager to add one instance of the detail subform.
subform1._DropDownList1.addInstance(1);
//Invoke the recalculate method to include the field values from the added row in calculations.
xfa.form.recalculate(1);
So my subform is called "subform1" while my element I want to duplicate with the button is called "DropDownList1"
At this point I get confused and not sure what I need to do.
Views
Replies
Total Likes