Skip to main content
vjleo94
Level 3
February 16, 2022

Validation of a field inside multifield - Dialog Touch UI

Hi, 

 

Does anyone know how to validate a field which is inside the multifield in touch ui using validator.register("foundation.validation.validator"). 

 

What should be the selector used here to pick the field inside multifield. The tricky part is that there can multiple fields as it is inside a multifield. Lemme know if anyone has done it using this way using a selector. If yes, Kindly let me know which selector should be used. 

 

I am specifically looking to validate a tag field but example of a simple text field will also help.

 

Thanks and Regards,

Vijay

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Bhuwan_B
Community Advisor
Community Advisor
February 16, 2022

@vjleo94 Please check below URL and see if that helps:

https://aem4beginner.blogspot.com/custom-validation-for-coral-ui-3

Translate
vjleo94
vjleo94Author
Level 3
February 16, 2022

@bhuwan_b , This validation is for max and min items in a multifield. I am looking for a validation of a field inside a multifield.

Translate
arunpatidar
Community Advisor
Community Advisor
February 16, 2022
Arun Patidar