Required Field Validator Element

Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Advanced Guides | Troubleshooting | About

Table of Contents

1 Required Field Validator - #is_required {}

Validate that the field contains a value.


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


text - (string)
The text to display if validation fails.
unless_has_value - (element id or list of element ids)
Don't fail

this validation as long as the specified elements have values. This can be used for creating validators like "Please enter either a firstname or a company name."

Date: 2014-11-12 19:50:21 CST

Author: Rusty Klophaus (@rustyio)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0


Note:To specify code blocks, just use the generic code block syntax:
<pre><code>your code here</code></pre>

comments powered by Disqus