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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to page breaks after certain sub total


Level 1

Hello experts,


I have a trouble in breaking page based on a certain field which is sub total highlighted in yellow. and after last sub total, it is required to show Total of all sub total.


Please see my followings:














For this To-be, I have set up conditional breaks as below but it is not working as expected, " C-LCurrMonthAnount " is the sub total field)




It would be really appreciated if you can advise me how to achieve this requirement.


Many thanks,






6 Replies


you want each block to be on a different page, correct? If you can upload the XDP to goole drive or similar and PM me the URL, I will have a look. Your form is too complex for us to guess what the solution could be.


Level 1
Hello Kosta, thanks for the heads up. you can refer to above link(google drive)


could you also send me a sample xml data file which produces several blocks? Use personal message for the links unless you ant them to be forever visible 🙂


Level 10

You don't need a conditional break for subform "Table" but its nested subform "Periods". 


Just add this FormCalc script to create a page break for each except the last instance.

$.index lt Table._Periods.count - 1


The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now