Multi-field Validation.!

Avatar

Avatar

imadullakhan

Avatar

imadullakhan

imadullakhan

08-07-2020

Hi @All,

 

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. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Varun_Shakya

MVP

Avatar

Varun_Shakya

MVP

Varun_Shakya
MVP

08-07-2020

Answers (3)

Answers (3)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820
Arun_Patidar
MVP

09-07-2020

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

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

09-07-2020

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

 

Capture.JPG

 

 

Avatar

Avatar

ArpitVarshney

MVP

Avatar

ArpitVarshney

MVP

ArpitVarshney
MVP

08-07-2020

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