Creating a New Expression
To define a new expression, perform the following steps:
To define an expression:
- On the Admin tab, open the Expressions subview of the Site Management view. The Expressions view opens.

- Click Add New Expression . The following form opens:
- In the Name field, enter a descriptive name for this new validation expression. The name that you enter here will identify this expression in the Answer Format list on the Create New Question dialog box.
- In the Expression field, enter an expression that will validate the user-entered response to its associated question. For example, if the question asked the user to input their zip code, the expression must check to see if the user enters 5 numeric characters.

info
For information on writing JavaScript regular expressions, see the Regular-Expressions.info site at:
http://www.regular-expressions.info/javascript.html
- In the Sample Format field, enter the format that the expression validates. This value will be displayed under the form field requiring validation.
- Click Add Expression .
See Also