Maxlength custom validator for Richtext using Granite UI Jquery | AEMaaCs | Community
Skip to main content
Nikhil-Kumar
Community Advisor
Community Advisor
July 26, 2022

Maxlength custom validator for Richtext using Granite UI Jquery | AEMaaCs

  • July 26, 2022
  • 1 reply
  • 575 views

 



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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Community Manager
Community Manager
July 26, 2022

@nikhil-kumar This is a good read. I have seen few questions on this Thank you for sharing this with community. 

Kautuk Sahni