Required Field Validator Element

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

Table of Contents

1 Required Field Validator - #is_required {}

Validate that the field contains a value.

1.1 Usage

wf:wire(ButtonID, TextBoxID, #validate { validators=[
  #is_required { text="Required" }
]})

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