Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Field in Master Page are deleted while removing a table row

deboraha5380687
Level 2
Level 2

Hi all,

 

I have in my Adobe form a tabel with a + button to add rows and a - button to delete rows. The code for deleting a row is the following in the click event:

    var rowNum = this.parent.index;
    this.parent.instanceManager.removeInstance(rowNum);

 

However, on top of the table there are other fields as part of the master layout, and every time I delete a single table row the data that is manually maintained in the top fields within the master layout is as well deleted. 

Why?

deboraha5380687_0-1578491210948.png

 

Thanks.

 

BR, 

Deborah

1 Accepted Solution
radzmar
Correct answer by
Level 10
Level 10

Make sure the affected fields have set a data binding.

View solution in original post

4 Replies
radzmar
Level 10
Level 10

Can you share the form? Looks like a design issue.

deboraha5380687
Level 2
Level 2
Hi Radzmar, whats your email-address then I can send you the form? Thanks very much! BR Deborah
radzmar
Correct answer by
Level 10
Level 10

Make sure the affected fields have set a data binding.

View solution in original post

deboraha5380687
Level 2
Level 2
Thanks after setting a data binding, the issue was solved 🙂