Integer Validator Element
Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | About
Table of Contents
1 Integer Validator - #is_integer {}
Validate that the field contains an integer.
Usage
wf:wire(ButtonID, TextBoxID, #validate { validators=[ #is_integer { text="Must be an integer." } ]})
Attributes
- text - (string)
- The text to display if validation fails.