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

Words (Min/Max)

Last updated 2 years ago

Was this helpful?

Information

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

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

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

Eg: "I want this input text to receive at least 25 words"

Apply: superform-words-min = 25

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="textarea" to mark it for validation and superform-words-min="25" to allow only at least 25 words
2) superform-error="textarea" to show the corresponding error message.