cancel
Showing results for 
Search instead for 
Did you mean: 

Delete a row From Adobe Form Table

Former Member
0 Kudos

Hi Experts,

I have an interactive form with a dynamic table inside that. i Have Add and Delete Buttons to insert and delete rows. The Problem is when i am trying to delete a row from the table its always deleting the second row, even i press the delete button associated with say eg 5th or 6th row or any other row.

Please do suggest as soon as possible.

Regards

Sarath

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sarath,

Lets say you have created the subform for a row in table and named it as "SubForm1" then you need to add the below code on the click event of your button in interactive form:

For deleting rows:

_SubForm1.removeInstance(this.parent.index);

For Adding Rows:

_SubForm1.addInstance(1);

Do award points if found helpful [:-)].

Regards,

Arafat

Answers (1)

Answers (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi Sarath,

Refer to the follwing form in your system:

C:\Program Files\Adobe\Designer 7.1\EN\Samples\Purchase Order\Dynamic Interactive\Forms\Purchase Order.pdf

open it in form designer and use the script written for adding and deleting rows.

Hope it will help.

Regards,

Vaibhav Tiwari.