Skip to main content
Level 4
May 29, 2026
Question

Can we capture events from Adaptive form for a button and use that while rendering static PDF from AF

  • May 29, 2026
  • 0 replies
  • 4 views

hi,

I am facing an issue while rendering PDF from Adaptive forms (build using foundation component) on AEM 6.5.24. The Adaptive form is created using XDP template and the fields are binded too.

The issue is that the form has a button, and on click runs a script which enables a subform.

The event works fine on Adaptive form too. When the button is click the adaptive fragment (which is the subform in xdp) is visible and the other fields are hidden. The problem is when we render PDF from Adaptive form. The then subform is still hidden. 

I believe the since it is an UI event on Adaptive, the XDP is not aware of it and it still hides the subform.

Is there any way to make subform visible using a button click on Adaptive form?

Thank you.