RTE Required Field In AEM 6.2 | Adobe Higher Education
Skip to main content
Level 2
May 17, 2017
Besvarat

RTE Required Field In AEM 6.2

  • May 17, 2017
  • 1 svar
  • 1672 visningar

Hi 

I have a requirement in my component, Where the RTE Field is Required, I tried Adding required true, allowBlank False, But it is not working, I need to write the validation code to achieve this functionality, I found the code in below link but it is not working in AEM 6.2, I did the changes suggested in the link but the field is not validating.

http://experience-aem.blogspot.com/2015/08/aem-61-support-required-property-on-richtext-editor-rte-of-touchui.html

Can anyone, Please suggest what are the changes I need to be done to make it work in AEM 6.2(Touch UI)

Det här ämnet har stängts för svar.
Bästa svar av kautuk_sahni

The RTE does not required properties.

You can add a listener (validator) on click of OK button of dialog and check/validate accordingly.

Example implementation :- http://keysandstrokes.info/aem-touch-ui-richtext-validations/

 

I hope this helps.

~kautuk

1 svar

kautuk_sahni
Community Manager
Community Manager
May 18, 2017

The RTE does not required properties.

You can add a listener (validator) on click of OK button of dialog and check/validate accordingly.

Example implementation :- http://keysandstrokes.info/aem-touch-ui-richtext-validations/

 

I hope this helps.

~kautuk

Kautuk Sahni