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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes