Form AJAX Validation show all errors

Hi,

unfortunately I couldn’t find anything regarding my problem :frowning:

Is it possible to show all errors from the Ajax validation instead of only that one, on the field the user changed?

When I take a look at the response all data is available to do so, but I couldn’t find any option on the form to enable that?

I’m not talking about the error summary, I’m talking about the pure AJAX validation result/ response.

Cheers & thx

Tino

Hi,

While I do not know the answer to your initial question yet, I have question myself:

Why do you want this in the first place? :)

Don’t you think it is annoying for the user when he has entered one field and a bunch of red error messages pops up for every single field inside the form? (Just want to unterstand in which situation this could be useful?)

Best Regards

Hi,

I understand your question and I know why you’re asking it :wink:

For example: If the user starts with typing and changing a textfield which isn’t the first field, then the user has to click “send” to validate everything. And the Ajax validation does validate everything and sends every error in every case due to “Model::validate()”…

Best