Skip navigation
ksumwalt
Currently Being Moderated

Can't get buttons to add/remove parts of a complex table

Jul 31, 2012 12:03 PM

I have a form with tables inside tables and need to add/remove lines and entire sections of the table, but can't seem to get the buttons to work.  The form can be found here: https://acrobat.com/#d=aS0xCt4bzIRGqip-HBtrXg  When I open the form in acrobat and try the buttons, I am prompted to save the form, but nothing is added/removed.  Eventually I need to fill in a second form with the same data, or else this table wouldn't be so complicated.  Any idea as to what I am missing here?

 

Karl

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 12:24 PM   in reply to ksumwalt

    Hi,

     

    1. your form is saved as static form.

    To all/remove rows the forms needs to be saved as dynamic PDF.

     

    2. The reference syntax to add/remove rows is wrong.

    Use this the add rows.

    _ItemRow.addInstance(true);
    

    or to remove rows

    _ItemRow.removeInstance(this.parent.index);
    
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points