Footnotes depend from dropdown value

Avatar

Avatar

Katka

Avatar

Katka

Katka

16-04-2020

Hi there, 

I am creating complex document, where the amount of pages depedns from user. Also there is a lot of footnotes in it (placed in Master Pages). Some of them, which should appear when the normal text fild is visible, I made as exaple below (written at layout:ready on footnote subform).

But I also have some footonotes which depend from dropdown list, f.ex. only when value = 3 it shows, else hidden. Please kindly advise. 

 

if(xfa.layout.page(this) == xfa.layout.page (textfield)){

this.presence ="visible";

}

else {

this.presence ="hidden";

}

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

19-04-2020

Hi,

Is this question specific to AEM Form or AEM.

 

AEM approach - Read dropdown value in dialog and show/hide based on that in HTL.

Answers (0)