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
SOLVED

Object value only on first page, on the other should be empty

Avatar

Level 1

Hello,

I am making a form with a master page. One object on the first page should have value from binding and on the other pages it should be empty. I tried using:

if (xfa.layout.page(this) !== 1)

    {

        this.rawValue = ""  ;

    }

but it doesn't work. (delete a value also on the first page).

Please help.

Thanx.

1 Accepted Solution

Avatar

Correct answer by
Level 1

I resolve it with a second master and different values.

Thanx anyway.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

I resolve it with a second master and different values.

Thanx anyway.