Words (Min/Max)

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

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.
Validate & Error (must read)

Last updated

Was this helpful?