Validation text box (Dojo) (Web-only)

The Validation text box widget is responsible for rendering a Dojo text box that validates user input using a regular expression that you specify.

This widget renders data supplied by the following component:

The following figure shows how a Validation text box widget appears on a transformation with an optional prompt message that you provide.

Figure 1. Dojo Validation text box widget example with prompt message

Example of Dojo Validation text box widget with prompt message

This figure shows a Validation text box widget with valid input entered.

Figure 2. Dojo Validation text box widget example with valid input

Example of Dojo Validation text box widget with valid input

The figure below shows a Validation text box widget with the default invalid message.

Figure 3. Dojo Validation text box widget example with invalid message

Example of Dojo Validation text box widget with invalid message
The following settings can be configured for this widget:
Regular expression
Use this field to supply a regular expression to validate the format of the user-supplied data. If this field is empty, no validation is performed and users can enter anything.
Validate
Click this button to validate the syntax of the regular expression in the Regular expression field.
Prompt message
Use this field to supply a prompt message to display when the user selects the text box. For example, you could remind the user of the correct data format as defined by the regular expression field.
Note:
If you supply your own prompt message, it is displayed to the user in the language you supply. No translation is performed.
Use default invalid message
Select this box to display the default Dojo invalid message when the user enters invalid data. Clear this box to supply your own invalid message to display.
Invalid message

Use this field to supply your own invalid message. If you leave this field empty, no message is displayed and only the input field is highlighted.

Note:
If you supply your own invalid message, it is displayed to the user in the language you supply. No translation is performed.
Re-validate on submit
Select this box to prevent page submission when the user enters invalid data. If not selected, invalid data is flagged, but still can be submitted to the host.