Multi-field Validation.! | Community
Skip to main content
imadullakhan
Level 3
Jul 8, 2020 4:32 PM UTC
Solved

Multi-field Validation.!

Hi @1905403,

 

Can anyone help please how to validate the Multifield components. For Example we shoudn't add the more then 5 fields in a multifield. like wise how to validate can anyone share the JS with Explanation. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Varun_Shakya
Varun_ShakyaAccepted solution
New Participant
Jul 8, 2020 5:31 PM UTC

4 replies

arunpatidar
New Participant
Jul 9, 2020 9:16 PM UTC

Please check [0] , if you are using coral3 multifield resource type.

[0] https://myaemlearnings.blogspot.com/2018/03/custom-validation-for-coral-ui-3.html

Translate
Arun Patidar
vanegi
Employee
Jul 9, 2020 7:38 AM UTC

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

 

[0]: Setting Maximum items in an Experience Manager 6.3 Multifield

 

 

 

Translate
ArpitVarshney
New Participant
Jul 9, 2020 6:17 AM UTC

Hi @imadullakhan 

 

Please go through this blog https://blogs.perficient.com/2018/10/26/simple-multifield-max-item-validation-for-aem-6-4/

It will help you with your usecase.

 

Regards,

Arpit Varshney

Translate
Varun_Shakya
Varun_ShakyaAccepted solution
New Participant
Jul 8, 2020 5:31 PM UTC