Expand my Community achievements bar.

New CF Editor Custom Validation

Avatar

Community Advisor and Adobe Champion

Hello,

has anyone developed a custom validation extension for the new CF editor? I don't want to create a custom field, just add validation to an OOTB field. I checked the docs but I don't see any API for validation available: https://developer.adobe.com/uix/docs/services/aem-cf-editor/api/

I have the following use-case: two multifields, if one contains X items, then the other one needs to contain X items or the validation should fail and show an error to the editor.

 

Thanks,

Daniel

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @daniel-strmecki

I was exploring multifield support in the new Content Fragment Editor, and the details are captured in this post. You should be able to extend it based on your use case, including support for validation.- https://medium.com/tech-learnings/aem-cloud-service-composite-multifield-in-content-fragments-editor...

Regards

Albin

My Profile - Albin Issac

Avatar

Community Advisor and Adobe Champion

Hi @Albin_Issac,

thanks for sharing. I read your post, but you are adding a custom multifield, which is not something I want to do. I only want to add custom validation to an OOTB multfifield. Is there an extension point available to just add custom validation?