About Validation
You can validate job property items by using the Job Properties > Qualify tab. For example, you can validate against database tables maintained in the SQL Server of any external software application.
Configuring validation
To configure validation for existing job properties
- Start the Server Administrator.
- On the console, expand the Server Administrator tree and select Configuration > Job Properties, then click System, User or your Properties group.
- Double-click the property of interest. The Job Property page opens.
- Select the Qualify tab, from the Validation drop-down list, choose one of the following options.
None – Provides no validation.
Length – Validates minimum to maximum characters.
List – Validates against the list of Items on the Prompt UI tab of the Job Property page.
Database (ADO) – Validates against database-specific information. See step 7 below for an example of using Database (ADO) Validation.
Meditech Magic – Validates against Meditech-specific information.
Web Service – Validates against Web Validation Service URL.
Regular Expression – Validates against a specified Regular Expression.
Note: The Meditech Magic validation is part of a rarely-used special environment. Continue to Step 5 unless working in this environment.
For example, select Database from the Validation list.
- Click Configure. The Validation Properties page opens.
- For the Database example, on the General tab, select either the Mandatory: User must specify a valid value or the Optional: User may continue if not valid radio button.
- Select the User must confirm successful validations check box, if needed.
- Click the ADO tab.
- In the DSN text box, enter the following string.
- Driver={Sql Server}; Server=[your SQL server name]; Database = [your database name]; User ID=””; Password=””;
- In the Query text box, enter the following string.
- select [name] from [name field] where [name] = %name%
- For example, for the Client field, you will enter:
- Select ClientField from ClientTable where ClientField = %Client%
- Click Test to test the validation.
- Click OK to create the validation.

- Create a new job property. For instructions, see Creating job property.
- On the Job Property page, click the Qualify tab.
- In the Validation section, select a Validation type from the drop-down list.
- Select the message property you want to validate.
- Click OK to save your changes to the job property.
See also