Summary
This article defines Scripts, a scripting language that defines a functionality performed upon data entry.
Table of Contents
The worksheet defines Scripts, a scripting language that defines a functionality performed upon data entry. Scripts are associated to multiple target and action pairs. The targets can be questions, forms or other objects. The actions are actions that can be performed on the targets, such as Update, Lock, etc. Scripts can be reused across trials.
All components of the scripting language are commands.
For additional information on scripts, view the Scripts manual.
script scriptId
Name of script file being referenced in this command, unique ID required for every script.
body
Starts the body of the script, required for every script.
target typeId
Enter the question type id or the form type id where the script will occur.
dependent path
If the script is dependent on another field, enter the path to the dependent question for this script.
correction
If the script produces an alert, specify the type of alert by entering ‘required’ (black alert) or ‘optional’ (red alert).
After script scriptId and body, the command for the script should be entered. Using Commands page is a good place to start. For a full list of commands, reference the Scripting Language Command Reference document.
Enter the command for the script and then enter the parameters required for the command.
Need more help?
Please visit the Fountayn Contact Information page.