Min Length Validator Element
Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Plugins | Mobile | Troubleshooting | About
Table of Contents
1 Min Length Validator - #min_length {}
Validate the minimum length of text in a textbox.
Usage
wf:wire(ButtonID, TextBoxID, #validate { validators=[<br> #min_length { text="Minimum of 4 characters.", length=4 }<br> ]})
Attributes
- text - (string)
- The text to display if validation fails.
- length - (integer)
- The minimum length of text.