Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Maxlength custom validator for Richtext using Granite UI Jquery | AEMaaCs

Avatar

Community Advisor

26-07-2022

NikhilKumar_0-1658827364792.png

 



Overview

As we all know that when it comes to apply the maxlegth property to a richtext field in AEM, it doesn’t actually works. Because RTE in dialog uses the concept of validation from the Form Validation in Granite UI. And, since, Inline-editing does not behave as a form, it can’t use that validation concept.

So we will make use of Granite UI api to create our custom validator which will help us to add validation of maxlength even on the richtext field in AEM TouchUI.

Read More..


Q&A

Please use this thread to ask questions

1 Comment