Superform by Delta Clan
✨ ClonablesSocialResourcesSuperform Home
v0
v0
  • 🌠Introduction (BETA)
  • 👁️Getting Started
    • Script Installation
      • Cloneable #1
  • 🎼Navigation Attributes
    • Form
    • Step
    • Next Button
    • Back Button
    • Submit Button
    • Radio Button Navigation
    • Step Teleport
    • Point Scoring
    • Dynamic Endings
  • 🔢Progress Attributes
    • Progress Bar
    • Progress Steps
    • Total Steps Label
    • Current Step Label
  • ✅Validation Attributes
    • Validate & Error (must read)
    • Email Validation
    • Characters Count (Min/Max)
    • Words (Min/Max)
    • Checkboxes (Min/Max)
    • Include Characters
  • 🔢MISC. ATTRIBUTES
    • Step Transition Duration
    • Enable Enter/Cmd Enter Navigation
    • Value Recall
Powered by GitBook
On this page

Was this helpful?

  1. Validation Attributes

Email Validation

Last updated 2 years 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:

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"

Related Links

✅
Validate & Error (must read)
1) Just superform-validate="identifier" attribute to mark it for validation.
2) Just superform-error="identifier" attribute to show corresponding error message.