Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Prefill rows from one expanding table to another expanding table

Avatar

Level 5

I have a form that has two sections in which each has an expandable table.  Each table starts with 3 of the repeating rows appearing.  When information is entered in the Maintenance Operation field in the table in the first section (Estimate of Maintenance Costs) it prefills to the corresponding field in the table in the 2nd section (Maintenance Expenditure Statement).  However, if more than 3 rows are entered only the 3 original rows appear in the table in the second section.  It will not allow additional rows. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
5 Replies

Avatar

Community Advisor

Check the min/max count in the data binding.

Or if you are doing it in script check the code where instances are added.

Avatar

Level 5

Thank you VIjay but unfortunately that didn't work. Can a repeating row actually be forced?

Avatar

Community Advisor

Yes, it can be by scripting using instanceManager

Avatar

Correct answer by
Community Advisor