Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

client validation

Avatar

Level 2

Hi

I am customizing the OOTB address form component. I have to do Client side validations & Server side validations for Zip-code field based on the country selected. I tried using the Form-Global-Constraint. I was bale to retrieve all the values in server-validations but couldn't do any client-side validations. Any suggestions?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this community article:- 

Link:- http://labs.6dglobal.com/blog/2014-07-15/client-side-form-validation-and-submission/

// It covers Client-side custom form validation and submission in Adobe CQ

 

Note:- In modern browsers, end users have way to bypass those validations and manually do submissions using various techniques, Such as Web Browser DevTools Console. So you need to choose wisely between client side and server side validation.

I have also asked internal team to help you here.

 

Some Reference link:- 

Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/components/developing-forms.html [Search for Client Validation]

Link:- https://helpx.adobe.com/aem-forms/6/configuring-submit-actions.html

 

I hope this would be of some help to you.

Thanks and Regards

Kautuk Sahni

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this community article:- 

Link:- http://labs.6dglobal.com/blog/2014-07-15/client-side-form-validation-and-submission/

// It covers Client-side custom form validation and submission in Adobe CQ

 

Note:- In modern browsers, end users have way to bypass those validations and manually do submissions using various techniques, Such as Web Browser DevTools Console. So you need to choose wisely between client side and server side validation.

I have also asked internal team to help you here.

 

Some Reference link:- 

Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/components/developing-forms.html [Search for Client Validation]

Link:- https://helpx.adobe.com/aem-forms/6/configuring-submit-actions.html

 

I hope this would be of some help to you.

Thanks and Regards

Kautuk Sahni

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni