AEM OOTB form client side validations | Community
Skip to main content
Dinu_Arya
Level 6
October 16, 2015
Solved

AEM OOTB form client side validations

  • October 16, 2015
  • 1 reply
  • 1033 views

Hi,

Is it possible to place OOTB form server side validations script in client side validation file? I have copied the code which is there in server side validations file into client side validation file. It is not working for me. Any idea? your comments are welcome. I have to do the same server side validations in client side.

Thanks,

AryA.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mshaji

If you are using AEM 6.0, there are some out of box client validations you can perform on the AEM adaptive forms fields. 

You might have to write client site validation scripts on dialog fields depending on your requirement.

You can do a combination of client side and server side validation, details documented in the following link

http://www.citytechinc.com/us/en/blog/2012/04/complex_cq5_dialog_validation.html

Or you can have just client side validations using javascript, some examples described in following link

http://sonycharan.blogspot.com/2014/03/client-side-dialog-validation-in-cq5.html

AEM commons package provides some kind of client side validations too, you can find more about at

http://adobe-consulting-services.github.io/acs-aem-commons/features/widgets.html

1 reply

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

If you are using AEM 6.0, there are some out of box client validations you can perform on the AEM adaptive forms fields. 

You might have to write client site validation scripts on dialog fields depending on your requirement.

You can do a combination of client side and server side validation, details documented in the following link

http://www.citytechinc.com/us/en/blog/2012/04/complex_cq5_dialog_validation.html

Or you can have just client side validations using javascript, some examples described in following link

http://sonycharan.blogspot.com/2014/03/client-side-dialog-validation-in-cq5.html

AEM commons package provides some kind of client side validations too, you can find more about at

http://adobe-consulting-services.github.io/acs-aem-commons/features/widgets.html