JavaScript Error with Adaptive Forms in IE

Avatar

Avatar

timr69563937

Avatar

timr69563937

timr69563937

30-08-2018

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

timr69563937

Avatar

timr69563937

timr69563937

21-09-2018

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.

Answers (5)

Answers (5)

Avatar

Avatar

Mayank_Gandhi

Avatar

Mayank_Gandhi

Mayank_Gandhi

21-09-2018

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.

Avatar

Avatar

Mayank_Gandhi

Avatar

Mayank_Gandhi

Mayank_Gandhi

07-09-2018

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

Avatar

Avatar

timr69563937

Avatar

timr69563937

timr69563937

05-09-2018

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

Avatar

timr69563937

Avatar

timr69563937

timr69563937

30-08-2018

1560710_pastedImage_0.png

1560711_pastedImage_1.png

Avatar

Avatar

Mayank_Gandhi

Avatar

Mayank_Gandhi

Mayank_Gandhi

30-08-2018

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

Thanks