Expand my Community achievements bar.

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