Importing XFA form into AEM, change event hander doesn't fire

bajwaya

15-10-2015

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

Accepted Solutions (1)

Accepted Solutions (1)

deepak_k_

Employee

15-10-2015

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.

Answers (3)

Answers (3)

bajwaya

15-10-2015

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.

bajwaya

15-10-2015

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?

mandeepg6805152

Employee

15-10-2015

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​