Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Add a new table and ID number should be inscrease

Avatar

Level 2

Hi all

When I click add button, it just copy the existing table to a new table.  I wouldl like to inscrease the Identification number when I select add a new table.
for example
( the default ID number is 1 - column 2
              ID number is 2 - column 3

When I select add button to add a new table the ID in the column 2 is 3; and the
column 3 is 4; and so on.

I had worked many days but It is unsuccessful.  Please help.

thanks in advance.

Here is the link.  It is easy for you to review what I have done.

https://acrobat.com/#d=upe2RCZPJ*CGIpzpLVS9hQ

Cindy

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

in the first column change the script into:

and in the second column into:

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

in the first column change the script into:

and in the second column into: