Footnotes depend from dropdown value | Community
Skip to main content
April 16, 2020
Solved

Footnotes depend from dropdown value

  • April 16, 2020
  • 1 reply
  • 1209 views

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

}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 19, 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.

Arun Patidar