Skip to main content

Form Validation

Native Bootstrap validation plus custom rules.

Bootstrap native validation

Submit with empty fields to see the messages
Looks good.
First name is required.
Looks good.
Last name is required.
Enter a valid email address.
+62
Digits only, 8–13 characters.
Select a country.
Postcode is required.
Enter a valid URL including https://
You must agree before continuing.

Custom jQuery rules

Live strength meter and match check
Lowercase letters, numbers and hyphens.
Use 8+ characters with a mix of cases, numbers and symbols.
Passwords do not match.

Validation states reference

That email is available.
That email is not valid.
Country confirmed.
Please choose a country.
This box must be ticked.