Properties of Multi-field Script Validation window
Use this window to define multi-field script validation methods.
- Required Fields
-
This group displays a list of fields that are added to be used within this validation method. As you add fields, the script sample is updated. The following settings are available for managing the required fields:
- Add
-
Click Add to add a field. A default name is added, that you can modify. You can also add a test value for the field.
- Delete
-
Click Delete to remove a field.
- Move Up
-
Click Move Up to move the selected field up in the list of required fields.
- Move Down
-
Click Move Down to move 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. It also has the following settings:
- Select
-
Highlights the script sample contents so they can be copied.
- Copy
-
Copies the selected script sample to the clipboard so it can be pasted in the desired 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.
In addition to the common Project Builder buttons, the following buttons are provided:
- Show Script
-
Click this button to open the Script Code window.