Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Advanced Guides | Troubleshooting | About
Validate that the field contains an integer.
wf:wire(ButtonID, TextBoxID, #validate { validators=[
#is_integer {
min=1,
max=100,
text="Must be an integer between 1 and 100."
}
]})
text
(string) - The text to display if validation fails.
min
(integer) - If set, will be the minimum acceptable value for the field. If left blank, then no maximum will be enforced.
max
(integer) - If set, will be the maximum acceptable value for the field. If left blank, then nno maximum will be enforced.