Skip to content

code

Experiments Surveys & forms

code is a form/survey column intended as a researcher chosen label for a survey question. It has no effect on what participants see. Its only practical value is that, like every recognized column, its cell value is copied verbatim into the results row for the trial, so it can label questions in the output data.

Type any label you like in the cell, one per row (for example age_question). The value is free text: it is never parsed and has no format constraints.

ValueEffect
empty cellnone
any other stringnone on screen; echoed into results

If the column is absent or a cell is left blank, the question simply has no label; the experiment behaves identically either way. The column header is matched case-insensitively.

  • responseType: whether a survey row is display-only text or a question is decided by responseType alone; code plays no part in it.
  • Results output: the cell value is copied into each trial’s results row, the same as any other recognized column, so it can identify questions in your data.
typeheadresponseTyperesponseOptionscode
formHow old are you?boxage_question
formRate your moodlikert1;2;3;4;5mood_likert

The code values change nothing on screen; they appear in the code column of the results file next to each response, which is useful when the head text is long.

  • The column is purely a label for your results.
  • A survey row with an empty responseType cell renders as a display-only text block regardless of what code contains.