JavaScript Error with Adaptive Forms in IE | Community
Skip to main content
timr69563937
Level 2
Aug 30, 2018 3:02 PM UTC
Solved

JavaScript Error with Adaptive Forms in IE

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
timr69563937
timr69563937Accepted solution
Level 2
Sep 21, 2018 8:42 PM UTC

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.

6 replies

Mayank_Gandhi
Employee
Sep 21, 2018 9:06 PM UTC

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.

Translate
timr69563937
timr69563937AuthorAccepted solution
Level 2
Sep 21, 2018 8:42 PM UTC

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.

Translate
Mayank_Gandhi
Employee
Sep 7, 2018 7:23 PM UTC

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

Translate
timr69563937
Level 2
Sep 5, 2018 1:45 PM UTC

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.

Translate
timr69563937
Level 2
Aug 30, 2018 6:20 PM UTC

Translate
Mayank_Gandhi
Employee
Aug 30, 2018 5:13 PM UTC

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

Thanks

Translate