Expand my Community achievements bar.

How to customize the positioning of foundation.validation.validator error message?

Avatar

Level 2

I have created a validator for number of slides in carousel , however the error message is not visible in dialog. 

Zendark_0-1731914889920.png

As for the code i am using selector on coral-multifield and returning error message if multifield items lesser than prescribed minimum.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6 Replies

Avatar

Level 7

Hi @Zendark 

 

To get better help, can you share your dialog xml (anonymized of course, if contains any confidential info) ? Maybe you need to add the multifield in a container first. Also worth posting how does your.js validator looks like.

Avatar

Level 5

Hi @Zendark 

 

Seems the error message is not visible in the view port. Try checking in the dialog maximized view.

 

Try to override the dialog width and check if it solves

 

Hope this helps !

Thanks

Avatar

Level 7

@ZendarkAlso check if your validator is working properly. A well example of such validator is https://aemhints.com/2020/10/24/limit-multifield-aem65/

Avatar

Level 2

I have used the same code logic as the given code , validator is working fine it is just an issue with the error message being hidden

Avatar

Administrator

@Zendark Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni