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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

JavaScript Error with Adaptive Forms in IE

timr69563937
Level 2
Level 2

We are developing a new Adaptive Forms application in AEM 6.4 and are seeing a javascript error reported by IE and Edge....

Object doesn't support property or method 'includes'

File: af.js, Line: 12, Column: 9

Everything works fine in other browsers, but IE and Edge throw this javascript error on radio button clicks, tabbing from one form field to another, etc. I know IE doesn't support "includes", but I'm not sure we should be going into af.js to rewrite that. Can Modernizr help us here? Any other solutions?

1 Accepted Solution
timr69563937
Correct answer by
Level 2
Level 2

So sorry I didn't reply sooner. It's been crazy around here.

This particular issue has been resolved. Turns out this was custom code and not part of the OOTB AF code.

View solution in original post

6 Replies
Mayank_Gandhi
Community Advisor
Community Advisor

I do not notice any issue on Edge, please attach the forms add-on package details and screenshot of browser debugger console.

Thanks

timr69563937
Level 2
Level 2

Any follow-up on this? Is this a known issue? Seems like a bug to me. It's a fairly urgent matter for us, as we're looking to deploy ASAP. Any guidance would be appreciated.

Mayank_Gandhi
Community Advisor
Community Advisor

Can you please share sample form package? Or, is it happening with the default templates as well?

timr69563937
Correct answer by
Level 2
Level 2

So sorry I didn't reply sooner. It's been crazy around here.

This particular issue has been resolved. Turns out this was custom code and not part of the OOTB AF code.

View solution in original post

Mayank_Gandhi
Community Advisor
Community Advisor

Good to know that this is sorted now, the very reason I asked you for the application package as I was thinking it to be coming from the custom code.