Expand my Community achievements bar.

Introducing Adobe LLM Optimizer: Own your brand’s presence in AI-Powered search and discovery

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Multifield Validation in Coral3 dialog

Avatar

Level 1

Hi Everyone,

I am trying to validate my multifield dialog with maximum items to be allowed. my requirement is like I should be able to add only 5 items in the multifield. If I try to add the 6th item it should show a warning message like maximum 5 items are allowed. I tried the same thing with help of below article.

Experiencing Adobe Experience Manager - Day CQ: AEM 6.3.1.0 - Touch UI Add Min Max Limit to Coral 3 ...

But the problem is if I try to add the 6th item it is giving warning message. but on closing of the message it is adding the 6th item as well, which should not happen.

Note: I am using AEM 6.4 version and coral 3 resource types.

Please help .

Thanks,

Bhuvana

3 Replies

Avatar

Level 10

Hi,

You can refer the HELPX article which will help your use case. Below is the link. Also, the message will display, if maximum items reached.

Setting Maximum items in an Experience Manager 6.3 Multifield

MaxLinks.PNG

Hope this helps!!

Thanks,

Ratna Kumar.

Avatar

Level 10

Nice response Ratna!

Avatar

Community Advisor

Just addition to above, 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

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn