Characters Count (Min/Max)

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

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

Last updated

Was this helpful?