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
SOLVED

Dynamic PDF Bar Code with Page # and count not showing when form adds or removes pages. How can I have the bar code update dynamically as page count changes? It is currently concatenating on docReady.

Avatar

Level 3

The bar code works when the form is initially opened. We have tried form:ready and layout:ready, neither works when the pages increase or decrease. Please provide assistance. Thank you in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Try moving the code to the calculate event of the bar code object, then it will fire whenever any of the depend references (like the page number) changes.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

Try moving the code to the calculate event of the bar code object, then it will fire whenever any of the depend references (like the page number) changes.