Expand my Community achievements bar.

SOLVED

JavaScript Error with Adaptive Forms in IE

Avatar

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

Avatar

Correct answer by
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

Avatar

Employee Advisor

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

Thanks

Avatar

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.

Avatar

Employee Advisor

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

Avatar

Correct answer by
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.

Avatar

Employee 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.