# Form Validation

Built on Bootstrap's native form validation — submit each form to see the feedback. The wiring script lives at the bottom of this page.
Custom Validation
First name
Looks good!
Last name
Looks good!
Username
@
Please choose a username.
City
Please provide a valid city.
State
Please select a valid state.
Zip
Please provide a valid zip.
Agree to terms and conditions
You must agree before submitting.
Browser Defaults & Tooltips

For browser-native validation feedback, omit `novalidate` and the `.needs-validation` class.

Email
URL

Add `.needs-validation-tooltip` in place of `.needs-validation` to swap inline feedback for floating tooltips.

First name
Looks good!
Username
Please choose a username.