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

Master page: input data from master page 1 showing into another input box in master page 2

Avatar

Level 2

Hello,

I have 2 master page:

  • Master page 1: has input text box to enter a file #. The master page is only used for the first page.
  • Master page 2: used for the next 4 pages. I have the same input box (named differently: SourceCode) and want the data from the master page 1 to show in that one.

This is what I have so far:

The master page 1 input box:

form1.#pageSet[0].Page1.Debried::exit - (JavaScript, client)

SourceCode.rawValue = this.rawValue;

The master page 2 input box is set to Calculated - Read Only.

The data is not showing. I guess I am missing something since both are in the master page??

1 Reply

Avatar

Level 7

Here's my solution to this. (I used the calculate event for the box that would be on the second master page, but you could modify it to work for another event.)

784700_pastedImage_0.png