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
  • Information
  • Related Links

Was this helpful?

  1. Validation Attributes

Characters Count (Min/Max)

Last updated 2 years ago

Was this helpful?

Information

Attribute: superform-chars-min = number or superform-chars-max = number

Apply to: all text-related input, textarea, tag elements.

Validates specified input/textarea for minimum and/or maximum character length.

Eg: "I want this input text to receive between 4-10 characters"

Apply: superform-chars-min = 4, superform-chars-max=10

Remember that you need to always apply superform-validate="identifier" so your input can enter the validation process.

Related Links

✅
Validate & Error (must read)
1) both superform-validate="name" to mark it for validation and superform-chars-min="1" to allow only at least 1 character
2) superform-error="name" to show corresponding error text message.