Properties of Multi-field Script Validation window

Use this window to define multi-field script validation methods.

Required Fields

This is a table that displays a list of fields that are added for use in this validation method. As you add fields, the script sample is updated.

Use the following buttons to manage the required fields:

Button

Description

Add icon   Add

Adds a field to the table. A default name is added, that you can modify. You can also add a test value for the field.

Delete icon   Delete

Removes the selected field from the table.

Move Up button   Move Up

Moves the selected field up in the list of required fields.

Move Down button   Move Down

Moves the selected field down in the list of required fields.

Event Type

This group has the following setting:

Specify if this validation method should be used for document fields or folder fields

Since there are different event methods for documents and folders, you can choose between document and folder validation. (Default: Document Validation)

Script Sample

This group contains a multi-field script sample that you can copy and modify for your own needs.

Use the following buttons to edit the script:

Button

Description

Select

Highlights the script sample contents so they can be copied.

Copy

Removes the selected field from the table.

Use the following setting to filter what is displayed in the sample script.

Please select the data type you want to use in script

Select a data type to be used in script. (Default: Strings)

Testing

This group enables you to do the following:

You can test the settings set above by typing some sample text into the Text input text field and clicking on the Validate button. You can also configure the following setting:

Specify a field formatting here for testing date double values inside the script

Select which validation method is used when testing dates or double values in a script. (Default: No formatting)

A message is displayed below the input field telling you that the entered text is valid, or explains why it is not valid.

The following buttons are available at the bottom of this window:

Button

Description

Close

Closes the window and saves your changes.

Script Icon Show Script

Opens the Script Code window. The script is stored automatically in the project file.

Help icon  Help

Displays the help for the open window.

Related topics: