====== answers() ====== The function ''answers()'' shows the participant's responses to an individual question. A print preview of the questionnaire can be created with the help of this function. ''void **answers**(string //questionID//, [array //items//, array //options//])'' * //questionID//\\ The 4-figure question ID to be displayed. * //items// (optional)\\ Show only some of the items or options (those with the item identifiers listed here). Please see the notes on ''answersOption()'' below. * //options// (optionally)\\ Display options like in ''[[:en:create:functions:answersOption]]'', will only be applied to this question. ===== Tips ===== **Note:** The function ''answers()'' is still under development. Up to this point, it only supports selected question types (selection, text input, fully labeled scale among others). The question display in print preview can still be changed in the further stages of development. **Note:** By default, ''answers()'' only shows items that have been answered -- or in a selection question -- only options that have been selected. Use ''[[:en:create:functions:answersoption|answersOption()]]'' to adjust this. **Note:** A respondent's answers can only be shown after they have been transmitted to the survey server using the "Next" button. Therefore, do __not__ use the ''answers()'' function on the same page as the question is asked. **Tip:** Use ''[[:en:create:functions:answersPrint]]'' in order to show multiple, or all questions in the questionnaire. ===== Example ===== answers('AB01'); answers('AB02'); answers('AB03');