Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to add a maximum limit for tags in dialog field

Avatar

Level 4

<tags
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/tagfield"
fieldLabel="Tags"
fieldDescription="Let author choose a maximum of five tags"
multiple="{Boolean}true"
name="./tags"
required="{Boolean}true"/>

 

above is the configured dialog, is there any way to limit the author to add only 5 tags.

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor