In Page properties I have added 2 text field and 1 multifield(textfield)
For all these textfield I want one validation where it doesn't accept any symbols other than '-' and 'space'. How can I achieve this. What Js to be used.
Solved! Go to Solution.
Views
Replies
Total Likes
please check the below blog for examples on how to set up validation in dialog.
https://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html
please check the below blog for examples on how to set up validation in dialog.
https://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html
Hi @Ronnie09 ,
You can use Granite Validator for this purpose.
Please refer to the similar reply here - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/text-field-content-l...
Here, instead of checking word limit, you can match the word with your required regex and accordingly show an error.
Thanks,
Chitra