Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Dynamic Form to Stop repeating when page is full

Avatar

Former Community Member
I have a dynamic form with a repeating subform .. I want the form to stop repeating once it reaches the end of the page (whether horizontally or vertically)- At the moment, it goes off the page & continues repeating.. Is there a solution for this?



Thank you!!
3 Replies

Avatar

Former Community Member
A possible way is to set an maximum occurance of the repeated subform. You can set it on the tab object=>binding min/max count.

set the max count on the number of subforms you get on your form.

Avatar

Former Community Member
Thanks, but the problem is Im designing a form similar to a blog that grows horizontally & vertically depending on the post / (subform instance) you reply to.. so there is no way of knowing at what instance it will reach the end of the page.. It might be the 10th or the 17th for example...

Any help will be very greatly appreciated!



Thanks