Showing only one message each time

By default, all messages are shown at the same time. It's also possible if you want only one message to be shown each time by triggering the core.validator.validated event.

This event is triggered when the field doesn't pass a particular validator.

In the following registration form, the username field must pass three validators. But there is one message shown each time.

More examples