Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
bajwaya
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
bajwaya
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
bajwaya
Level 1

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)

Avatar

Avatar
Boost 5
Employee
deepak_k_
Employee

Likes

5 likes

Total Posts

84 posts

Correct Reply

32 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
deepak_k_
Employee

Likes

5 likes

Total Posts

84 posts

Correct Reply

32 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
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)

Avatar

Avatar
Validate 1
Level 1
bajwaya
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
bajwaya
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
bajwaya
Level 1

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.

Avatar

Avatar
Validate 1
Level 1
bajwaya
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
bajwaya
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
bajwaya
Level 1

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?

Avatar

Avatar
Boost 5
Employee
mandeepg6805152
Employee

Likes

7 likes

Total Posts

47 posts

Correct Reply

28 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
mandeepg6805152
Employee

Likes

7 likes

Total Posts

47 posts

Correct Reply

28 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
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​