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

JavaScript Error with Adaptive Forms in IE

Avatar

Avatar
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile

Avatar
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile
timr69563937
Level 1

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
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile

Avatar
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile
timr69563937
Level 1

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
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

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
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

07-09-2018

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

Avatar

Avatar
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile

Avatar
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile
timr69563937
Level 1

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
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile

Avatar
Validate 1
Level 1
timr69563937
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 3
Give Back
Affirm 1
View profile
timr69563937
Level 1

30-08-2018

1560710_pastedImage_0.png

1560711_pastedImage_1.png

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

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