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
BedrockMission!

Learn more

View all

Sign in to view all badges

Populating a Duplicate Table as User Enters Data

DKinsley
Level 9
Level 9


I have two tables. When the form user clicks the add row button, Table 1 and Table 2 both add a new instance of their respective Row 1.

I am now trying to script so that when the user populates the fields in the first two cells of the new row in Table 1, the same cells in the new row in Table 2 populate automatically so that the tables are identical. I assume I put the script in the change event of the first two cell fields but have to somehow count how many rows have been addded so I know which row to populate.

1 Reply
_Bruce_Robertson
Level 10
Level 10

Hi,

Row1.index will give you the current row number in your exit event, so as long as the rows stay in sync (you can't delete one from one table without deleting from the other) then you can use that index in table2.

Regards

Bruce