Strange issue with server-side validation

Hi,

So I have set up server-side validation to ensure the username does not already exist.

My first issue is that the message is not being displayed under the input when the validation fails.

I have confirmed that the JS required is present.

and the linked field is correct.
(server-side)
image

(client-side)
image

I verified that I am receiving the response.

In console, I see the following.

So, I added a custom alert on the validation fail.


image

When I try now, everything seems to be 1 step behind. Best way to show this is in the vid here.
The email address I try to use should fail as it does exist on the database.

So, why is the message not showing under the input and which is the alert 1 step behind?

If anyone can help shed some light on this, I would be grateful.

Ray.

Community Page
Last updated: