Minimum fields in multifield in dialog aem6.3 | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Nov 19, 2018 6:43 AM UTC

4 replies

Ratna_Kumar
Level 10
Nov 19, 2018 10:11 AM UTC

Hi,

Yes as Arun said, in this thread you will get in detail for setting min and ma fields in multifield: How to set min max item in Multifield AEM 6.3?

Thanks,

Ratna Kumar.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Nov 19, 2018 6:43 AM UTC
Arun Patidar
Level 2
Nov 19, 2018 3:59 AM UTC

Hi Arun,
Thank you for your reply.
I am able to restrict the max multi-fields by using maxItems property in node properties.But I couldn't able to restrict the minimum

multi-fields(2 multi fields should be mandatory) by using minItems or modified script from the above mentioned url.

Can you please suggest how to restrict the minim 2 multi-fields should be there.

Translate
arunpatidar
New Participant
Nov 15, 2018 7:06 AM UTC

you may face issue if yo are using Coral3 because of missing data attribute which holds size in multifield item property.

For that you need to create extra node i.e. granite:data and define the size property with value.

Custom Validation for Coral UI 3 Multifield using foundation-validation

Translate
Arun Patidar