Questions and Answers
Questions
Questions section can contain question text together with Data Elements.
Data Elements are taken from column names of the Data File. If the column headers do not match the variables within the Task design, a warning message is displayed alerting you which column names need to be remapped. See the Upload Data topic for details.
Data Elements have the following template: ${question.data['data_element_name']}

In the Question section, you can perform the following actions:
- type Rich Text
- type Data Elements
- delete Data Elements
In the Side Panel, you can only insert Data Elements at the current cursor position.
Do not type or paste Data Elements into Title or Instructions sections – the Preview will not be accessible.
Answers
To add an Answer, complete the following actions:
- On the Design Task tab, click inside the Answer section. On the Side Panel, you will see Answers list.

- Click the Add Answer button. The Add Answer window will pop up as shown below.
- Fill the Answer fields and click the Save button.
When the Answer is saved, you can preview it and edit if needed.
Answer Input Fields
Code
This field provides a reference point to be used by associated Adjudication Rules.
It is also used as the header for the Output Data file generated at the completion of the campaign.
Enter a unique text string (only letters, numbers, and underscores).
Answer
This field is a label above the Answer field. Workers see it as a definition of an Answer.
Answer Type
A drop-down menu for selecting UI data input control.
See the Answer Types topic for detailed information on the design and logic of each control.
Options
Options for multi-variant answers in key=value format. (Option_Name1=Value1). You can use dynamic expressions in options.
To enter a new option, click Enter or TAB. You can also reorder the option items by dragging them, or delete them.
Options can also contain different information depending on the Answer Type:
- for Long Text – number of rows
- for Masked Text – ability to define the mask for answer
- for Map – enable/disable street view, etc.
Shuffle Options
Tick this checkbox to shuffle the order in which the options are presented to Workers.
Input form Data Store
Tick this checkbox to import Answer options from a Data Store.
Description
This field allows you to describe in detail what's required by your Worker and is displayed underneath the Answer field. It supports Dynamic HTML and HTML snippets.
Required
Setting this option engages automatic validation checks ensuring that the Worker can not submit the task without providing the Answer.
Allow n/a
Select this checkbox to add an additional alternative answer option like "I do not know".
CSS Rules
- To customize the Answer look and feel, enter a name for your custom CSS class.
- After saving the Answer, switch to the Code Editor and add your CSS code for this class in the <style> section.
For Sub-answers, this field should contain expand:on(Parent_Answer_Option_Value).
See the CSS Rules for Answers and Sub-Answers topic containing CSS Rules examples.
Default Value
This value is inserted by default and can be modified by Workers. Default value can be taken from Input Data file by using the following expression format: ${question.data.column_name}
Do Not Use in Adjudication (SA)
Tick this checkbox to omit the Answer from being considered when calculating adjudication (majority determination). This option is useful when the answer is being used for comments or similar free form type answers.
note
You can add multiple answers or even no Answers at all, if your Task does not require it. To modify the order of Answers, drag them up and down.
To delete an Answer, click the close icon (x) to the right of the respective element.
Dynamic Expressions in Answer Options
Select One, Select Multi, Check One, and Check Multi answer types support dynamic expressions in options of the following type:
${question.data.A}=${question.data.B}
${question.data.A}=1; 2=${question.data.A}
PREFIX${question.data.A}SUFFIX${question.data.B}=${question.data.C} // PREFIX, SUFFIX - any strings
In the example above, A and B are the column names from input Data file. On Preview and Endpoints these expressions are substituted by values from corresponding columns.
Dynamic expressions are useful in case these answers should have multiple values – no need to enter them manually.
For example:

Input File or Data Store |
What Worker sees | What Worker selects | Result |
|---|---|---|---|
| Title: Yahoo, Facebook; URL: http://yahoo.com , http://google.com |
Yahoo, Facebook | Yahoo | http://yahoo.com |
To use these columns in Answers, add the following dynamic expressions to the Options list:

The following figure displays dynamic expressions in Design Task and Preview:

Sub Answers
Answers with multiple options can have Sub Answers. Sub Answer is displayed to a Worker only when a particular option from an Answer was selected.
Example:
Question: "Count the objects and select their amount from the list" Parent Answer options: 1=1 2=2 3=3 4=4 Other=5 Sub Answer: If 5 was selected from Main Question, then display a text input (Sub Answer).
To add a Sub Answer to an existing Answer, perform the following steps:
On the Design Task tab, click inside the Answer section. On the Side Panel, you will see the Answers list.
Move the mouse over the Answer's corresponding row.
Click the Plus icon "+" as shown below.

The Answer input fields are displayed.
a. Expand the Show Advanced Options section.
b. Insert the following string into the CSS Rule field: expand:on(Parent_Answer_Option_Value)
Parent_Answer_Option_Value – any option of the Main Answer
Example: The parent Answer has the Check One type with the following Options: black=1 white=2 other=3
To display the Sub Answer when the third option (other) is selected in the parent Answer, insert the following string into the CSS Rule field of the Sub Answer: expand:on(3)

Click Save when all pertinent fields are completed.
Each Answer field added will be displayed in a table format under the parent answer node. You can edit, reorder, and delete Sub Answers. There can be multiple levels of Sub Answers.
Validation Rules
Format Validation in Answers is active by default, and user can not enter incorrect values. For example, email, date, number, etc.
When the validate parameter is set to false, user can enter any data in any field. To disable validation, add the following parameter in the Code Editor:
<@form validate=false>
Save the Task to apply the changes.