Hi
I have an XFA form with a change event handler on a field. When the form is rendered as a PDF and opened in Reader, the change event handler works fine.
However, when importing the XFA into AEM forms, adding the field to the AEM form works, but the change event doesn't fire when it is supposed to. I had a change listener setup on a drop-down list. I tried the simple case of a javascript pop-up on any change, but no luck.
Are change events supported this way in AEM? Is there documentation describing what type of event handling is supported?
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
You mean you imported the th XFA in Adaptive Form and change is not trigger for dropdown field. For XFA based Adaptive Form, we support change event for radio buttom, checbox and exit event fr all other field types. So try moving your script to exit for Dropdown, it should work.
Views
Replies
Total Likes
mandeep gandhi wrote...
Yes we do support change event. Attaching a sample XDP with your use case. Also if you are not able to resolve the issue, then can you share the sample you created.
I hope this would help https://helpx.adobe.com/livecycle/help/mobile-forms/scripting-support.html
Views
Replies
Total Likes
You mean you imported the th XFA in Adaptive Form and change is not trigger for dropdown field. For XFA based Adaptive Form, we support change event for radio buttom, checbox and exit event fr all other field types. So try moving your script to exit for Dropdown, it should work.
Views
Replies
Total Likes
Thank you. I tried the sample, but I still don't get the change event firing.
Is there any server log or additional information I can provide to help diagnose the issue?
Views
Replies
Total Likes
Thank you. In PDF, the 'exit' event triggers when changing the drop-down value. However, this is not happening with the adaptive form. On the adaptive form, I need change focus to another field, then it fires the exit handler.
Also, will adaptive form support capturing / filtering keystrokes? In PDF, I can filter out what the user is typing, it didn't work in adaptive form.
Views
Replies
Total Likes
Views
Likes
Replies