Expand my Community achievements bar.

SOLVED

Footnotes depend from dropdown value

Avatar

Level 1

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";

}

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.



Arun Patidar