In this example we use .was-validated to indicate what's missing before submitting the form:
.was-validated