diff --git a/packages/plugin-survey/example.html b/packages/plugin-survey/example.html index 142cf3d2..4e207e92 100644 --- a/packages/plugin-survey/example.html +++ b/packages/plugin-survey/example.html @@ -21,9 +21,9 @@ type: jsPsychSurvey, pages: [ [ - {type: 'html', prompt: '

Here is some arbitrary text via an "html" question type.
Similar to preamble but can be inserted anywhere in the question set.
This trial uses automatic question numbering (continued across pages).

'}, - {type: 'text', prompt: 'This is a single-line text question.', textbox_rows: 1, textbox_columns: 20}, - {type: 'text', prompt: 'This is a multi-line text question.', placeholder: 'This is a placeholder.', textbox_rows: 5, textbox_columns: 40}, + {type: 'html', prompt: '

Here is some arbitrary text via an "html" question type.
Similar to preamble but can be inserted anywhere in the question set.

This trial uses automatic question numbering (continued across pages).

'}, + {type: 'text', prompt: 'This is a single-line text question.'}, + {type: 'text', prompt: 'This is a multi-line text question.', placeholder: 'This is a placeholder.', textbox_rows: 10, textbox_columns: 40}, ], [ {type: 'multi-choice', prompt: 'This is a multi-choice question with options in one column (the default).', options: options}, @@ -42,13 +42,13 @@ var survey_trial_random = { type: jsPsychSurvey, - pages: [[ - {type: 'text', prompt: 'Question 1.', textbox_rows: 1, textbox_columns: 20}, - {type: 'text', prompt: 'Question 2.', textbox_rows: 1, textbox_columns: 20}, - {type: 'text', prompt: 'Question 3.', textbox_rows: 1, textbox_columns: 20}, - {type: 'text', prompt: 'Question 4.', textbox_rows: 1, textbox_columns: 20}, - {type: 'text', prompt: 'Question 5.', textbox_rows: 1, textbox_columns: 20}, - {type: 'text', prompt: 'Question 6.', textbox_rows: 1, textbox_columns: 20}, + pages: [[ + {type: 'text', prompt: 'Question 1.', textbox_rows: 2, textbox_columns: 20}, + {type: 'text', prompt: 'Question 2.'}, + {type: 'text', prompt: 'Question 3.', textbox_columns: 50}, + {type: 'text', prompt: 'Question 4.', textbox_rows: 2}, + {type: 'text', prompt: 'Question 5.'}, + {type: 'text', prompt: 'Question 6.', textbox_rows: 10, textbox_columns: 20}, ]], title: 'This is a separate survey trial. The order of questions should be randomized.', randomize_question_order: true