Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Maxlength custom validator for Richtext using Granite UI Jquery | AEMaaCs

Avatar

Community Advisor

7/26/22

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