Form Validation

In this example, we use .needs-validation, which will add the validation effect AFTER the form has been submitting (if there's anything missing).

Try to submit this form before filling out the input fields, to see the effect.

Valid.
Please fill out this field.
Valid.
Please fill out this field.