# Max Length Validator Element

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

## Table of Contents

- 1 Max Length Validator - #max_length {}

## 1 Max Length Validator - #max_length {}

Validate the maximum length of text in a textbox.

### Usage

    wf:wire(ButtonID, TextBoxID, #validate { validators=[<br>
      #max_length { text="Maximum of 7 characters.", length=7 }<br>
    ]})

### Attributes

text - (string)
  The text to display if validation fails.
length - (integer)
  The maximum length of text.

Date: 2012-10-18 03:23:16 CDT

Author: Rusty Klophaus (@rustyio)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0

## Comments

Note:To specify code blocks, just use the generic code block syntax:

    <pre><code>your code here</code></pre>

comments powered by Disqus