Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

How to order some pages included dynamically


Level 3

Hi everybody.

I created an order form for business cards in french and in english. The user fills in the form. Two cards appear showing the layout and two others are hidden. We used the latter to print. So far, everything is allright.

But I encounter 2 problems when I have many pages.

- When there are several pages, I have to type the password (000) after each one. I prefer to enter the password after the last page and all business cards should appear.

- When I enter the password, the cards to be intended for printing appear in an alphabetical order (all english cards and all french cards). I prefer getting them ordered by name or by page (page 1 english-french, page2 english-french,...).

Here is the link to download my file : http://www.filedropper.com/questioncards_1

I hope I have been clear

Many thanks for your help.

2 Replies


Level 10


You link did not work for me, but here is a sample of sorting subforms, http://blogs.adobe.com/formfeed/2009/05/sort_subforms.html

I hope that helps with one part of the problem.



Level 3

Hi Bruce

Many thanks for your help is really appreciate but I think that it's not the good solution for my problem. But, now you could find out the good one.

Here is a new link to share my file.