user972418
user972418

Reputation: 827

AEM 6.1 : ACS AEM commons bundle - multifield

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?

Upvotes: 2

Views: 1163

Answers (2)

ruchika jain
ruchika jain

Reputation: 160

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

Upvotes: 4

user972418
user972418

Reputation: 827

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.

Upvotes: 9

Related Questions