Highlighted

How to Enable Custom Validation on multifield Touch UI - Adobe Experience Manager(AEM) | AEM Community Blog Seeding

kautuk_sahni

Community Manager

26-06-2020

BlogImage.jpg

How to Enable Custom Validation on multifield Touch UI - Adobe Experience Manager(AEM) by techforum

Abstract

This tutorial explains the approach to enable custom validation on multifield Touch UI.
We are going to enable the email validation for the email filed defined inside multifield through custom script.
Define Dialog
As a first step, define a dialog with multi fields. The XML structure of the sample dialog.

Enable the validation for Email
Let us now enable the validation for email fields — the email id field is validated for valid email id. The form should not be submitted if there are at least one email filed is entered with invalid email address.
The email fields should be highlighted in different style for easy identification of validation errors.
Define a cq:ClientLibraryFolder node under the component with the name clientlibs and add the below properties.

Read Full Blog

How to Enable Custom Validation on multifield Touch UI - Adobe Experience Manager(AEM)

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager