Allow users to enter information
While users are filling out a form, they may want to edit some information and go back to previous fields. Let them type without interruption and don't check for errors until users finish making changes and shift their focus from the input. Otherwise, you might distract users and make them doubt whether they've already made a mistake.
Inline validation makes sense for complex inputs such as new passwords, as it helps prevent guessing or double-checking whether the information they entered meets the requirements.[1]
References
- How to Report Errors in Forms: 10 Design Guidelines | Nielsen Norman Group

