Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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