Last updated 1 year ago
Was this helpful?
Attribute: none
Superform validates for "name@domain.com" pattern only anEMAIL INPUT tag by just marking the input for validation with:
EMAIL INPUT
superform-validate="identifier" eg.superform-validate=user-email
eg.
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"