Validation

Pro Component

Custom validation

Bootstrap form validation messages. See official documentation here.

Looks good!
Looks good!
@
Please choose a username.
Please provide a valid city.
Please select a valid state.
Please provide a valid zip.
You must agree before submitting.

Browser validation

If you're not interested in writing JavaScript to change form behaviors. See official documentation here.

@

Server side validation

In case you want to use server-side validation, you can use .is-invalid and .is-valid. See official documentation here.

Looks good!
Looks good!
@
Please choose a username.
Please provide a valid city.
Please select a valid state.
Please provide a valid zip.
You must agree before submitting.