Adobe Global Community

Simple Multifield Max Item Validation for AEM 6.4

Published on by Ahmed Musallam on
I’ve recently had the need to validate that a multifield does not exceed a specific number of items, this post is a short code snippet that will show you how I did that. This solution simple enough, it takes a few minutes to adapt it to a min validation or validating for a specific number of items. Create a Clientlib First, you’ll need to create a clientlib with categories cq.authoring.editor.hook or any other category that will make this code available to the Editor frame.


comments powered by Disqus

Get Insights from the AGC!

Related Posts