Expand my Community achievements bar.

Elevate your expertise and be recognized as a true influencer! Nominations for the exclusive Adobe Community Advisor program 2023 are now OPEN.

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