cancel
Showing results for 
Search instead for 
Did you mean: 

validation script ReferenceError

validation script ReferenceError

Hi All ,

I got the following error some time in my website and after refreshing the page its work fine ..

with the validation script ReferenceError: validateOptionsCallback is not defined at eval (eval at updateCallback (https://website.com/js/prototype/validation.js), :1:1) at Function.updateCallback (https://website.com/js/prototype/validation.js:245:13) at Function.test (https://website.com/js/prototype/validation.js:304:18) at eval (https://website.com/js/prototype/validation.js:177:35) at eval (https://website.com/js/prototype/prototype.js:845:37) at eval (https://website.com/js/prototype/prototype.js:825:18) at Array.forEach () at Array.each (https://website.com/js/prototype/prototype.js:824:12) at Array.all (https://website.com/js/prototype/prototype.js:844:10) at Function.validate (https://website.com/js/prototype/validation.js:176:28)

 

would someone guide me what's wrong or how can i solve this issue . 

2 REPLIES 2

Re: validation script ReferenceError

Hello,

 

Can you please check how many times jQuery Added on site

 

If it is added after prototype then call before prototype and add jQuery.noConflict();

 

Hope it will work for you.

 

If it will work then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: validation script ReferenceError

Do You mean that move the prototype call after calling all jQuery ??