Email Validation

Attribute: none

Superform validates for "name@domain.com" pattern only anEMAIL INPUT tag by just marking the input for validation with:

superform-validate="identifier" eg.superform-validate=user-email

This way you also add a text error message in case the email provided by the user doesn't match the correct pattern with superform-error = "identifier"

Validate & Error (must read)

Last updated