Form validation

Clear validation states, useful messages, and friendly recovery patterns.

Field states

Use immediate, readable feedback near the field.

Default

Neutral helper text

Use the name your team recognizes.

Success

Input is ready to submit

This email is available.

Error

Explain how to fix it

Enter a valid URL, such as https://example.com.

Create your account

Inline validation after submitting the form

We will use this for account updates.

Choose a strong password to protect your account.

Password requirements

Guide the user while they type

Password strengthNot set
At least 8 characters
One uppercase letter
One number

Validation patterns

Helpful messages for complex forms.

Form-level summary

Bring attention to fields that need review

There are 2 issues to fix

  • Email address is required
  • Please accept the terms to continue

Email is required.

Async availability

Validate values that need a server check

vexuiadmin.com/
This workspace URL is available.

Validation timing

Choose when feedback appears for a calmer form experience.

On change

Feedback updates while the user types

Enter a valid email address.

Best for predictable input formats and passwords.

On blur

Validate after a field is finished

Click outside the field to validate it.

On submit

Show messages only after the form is sent

Good for shorter forms with a single final action.

Validated contact request

Error messages remain close to the fields and preserve the user input

Name is available.

Enter a budget greater than $500.