2
votes

I am using AEM 6.1 and using the multifield provided by the acs aem commons version 2.2 bundle. I want to limit the number of multifield that I can configure. I have gone through the documentation here but nothing seems to be working. Any ideas?

2

2 Answers

9
votes

So just found out it works by adding a maxItems property on the multifield node. Earlier I was trying to use that property on multifieldpanel node.

4
votes

By minItems="1" maxItems="1" you can set the maximum and minimum number of items.