For logins or user registration, Yii’s default is to have an error appear BEFORE submitting the form, ie, just clicking in a “username” box and then immediately clicking in the “password” box would generate a “Username cannot be blank” message.
This is clearly because the fields are "required", which I want. But does anyone know how to change it so that the error message only appears AFTER clicking on the submit button?
Thanks.