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

Avatar

Avatar
Validate 100
Level 3
DKinsley
Level 3

Likes

9 likes

Total Posts

545 posts

Correct Reply

5 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile

Avatar
Validate 100
Level 3
DKinsley
Level 3

Likes

9 likes

Total Posts

545 posts

Correct Reply

5 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile
DKinsley
Level 3

28-10-2015


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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

29-10-2015

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