error on use $.validator.register function

Avatar

Avatar

elizabethp60981

Avatar

elizabethp60981

elizabethp60981

04-02-2018

Hello,

I am facing some problems to put validation on a cq:dialog.

I have created an aechive to put my validations, but on beginning of my code, on  $.validator.register({

I am having the following error: Uncaught TypeError: Cannot read property 'register' of undefined.

It seems that are some foundation dependency, but I don't know which one, and I have downloaded the foundation package, and I created the foundation archives on my clientlibs. I don't know what am I missing

1410555_pastedImage_0.png

I would be glad with some help,

Thanks in advance.

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

05-02-2018

Please read and follow exact steps mentioned in this:- AEM Touch UI Custom Validation - Adobe Experience Manager | AEM/CQ | Apache Sling  And Try this package GitHub - nateyolles/aem-touch-ui-validation: AEM Touch UI Validation Library

If problem still persists then also share the AEM error.log!!

-kautuk