Duplicate a repeating table

J

JR

basically i have two repeating tables. the user will fill in the first one,
and the second one could the be same as the first, but doees not have to be.

Table1 and Table2 are structured like:
-------------------------------
name | extension | dept. |
-------------------------------
where each cell is a text box.

under the second table, i have a button "Same As Above" and if clicked,
every row from the first table should be duplicated into the second table.

if someone could jsut give me a snippet of code to look off of (i.e. how to
identify fields and these dynamic rows) i can work from there. I am new to
JScript but not to coding.

thanks!
JR
 
K

Kalyan Reddy

Hello JR,

Would you like to do this without using a code.
Bind the second repeating table to the first repeating table so that all the
data in the first repeating table is shown in Second repeating table.
Use conditional formatting on the Second table to be hidden untill the check
box is not equal to True.
When the check box is checked, the second repeating table shows up with the
same data as the first table.

I hope this will help you.
 
J

JR

i appreciate your help, Kalyan , but no, that didnt answer my question. the
second table could contain the same values as the first, but does not have to.

both tables must be visible in case the author wants to input different data
for them. however, if they do not choose to do this, they may click the
"same as above" button and the values fromthe first table should then be
duplicated in the second table.

any ideas anyone ??

JR
 
Top