How not to validate an empty field if it hasn't been filled in?
example on codepen: https://codepen.io/Lirrr/pen/eYzNgKY
I'm using the Bouncer library for validation: https://github.com/cferdinandi/bouncer
If any field gets into focus, then after losing focus it is immediately validated, even if nothing was entered.
So you have a required field, of course, after losing focus, a message appears that it is required.
Remove required from html.Anonymous
To place the code, please use CodePen or similar tool. Thanks you!