How not to validate an empty field if it hasn't been filled in?

  • 0
    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.
    How to make it so that the validation occurs only after trying to enter something?
    JavaScript Anonymous, Aug 8, 2020

  • 1 Answers
  • 0
    So you have a required field, of course, after losing focus, a message appears that it is required.

    Remove required from html.
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!