up Inquisit Language Reference

parameters element

The parameters element contains settings that can be used to alter the behavior or mode of the script.

Attributes

<parameters>
This element has no attributes
</parameters>

Properties

parameters.name
parameters.typeName

Functions

None.

Remarks

The parameters element is where a script's customizable settings are defined. For example, a script that enables administrators to change the total time of a test may define a "totaltestTime" parameter that can be set to the total number of milliseconds a test will trun before ending. Users of the test can then adjust the time according to their needs simply by setting the parameter. Parameters can also be set by batch elements in cases where a script is run as part of a batch. This is useful to share information amongst the individual task scripts run by the batch.

Examples

The following defines and initializes 3 parameters controling the win and loss stakes for a gambling task, as well as the maximum amount that can be one.

<parameters>
/ rewardamount=10
/ penaltyamount=5
/ maxwinnings=500
</parameters>

The following defines a parameter that determines whether to show the respondent a performance feedback summary.

<parameters>
/ showfeedback=true
</parameters>

Copyright Millisecond Software, LLC. All rights reserved.