Integer Validator Element

Getting Started | API | Elements | Actions | Validators | Handlers | About

Table of Contents

1 Integer Validator - #is_integer {}

Validate that the field contains an integer.

1.1 Usage

wf:wire(ButtonID, TextBoxID, #validate { validators=[
  #is_integer { text="Must be an integer." }
]})

1.2 Attributes

text - (string)
The text to display if validation fails.

Author: Rusty Klophaus (@rklophaus)

Date: 2010-11-22 10:49:57 EST

HTML generated by org-mode 7.01h in emacs 24