client validation | Community
Skip to main content
Level 2
August 8, 2016
Solved

client validation

  • August 8, 2016
  • 1 reply
  • 1278 views

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?

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 kautuk_sahni

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

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
August 9, 2016

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