ValidationScript element
[This documentation is preliminary and is subject to change.]
A JScript function that validates the parameters value.
Usage
<ValidationScript>
text
</ValidationScript>
Attributes
There are no attributes.
Text value
A single JScript function that validates the parameters value. The function should return null if validation passes and an error string if validation fails. This string is intended to be presented to the user as an error message. This element may be empty.
Child elements
There are no child elements.
Parent elements
| Element | Description |
|---|---|
|
Information that fully describes an assessment parameter. |
Remarks
Note that the validation script will have access to an object model that provides it with all the other existing parameter values. This lets the validation script validate a parameter value in context.
Element information
| Can be empty | Yes |
Build date: 9/6/2011