Inhaltsverzeichnis

answersOption()

answersOption() allows for the modification of the presentation of questions by answers() and answersPrint().

void answersOption(string Option, mixed Setting)

Tips

Important: An option selected by answersOption() only pertains to cues of answers() and answersPrint(), that take place on the same page of the questionaire and the respective answersOption().

Tip: Use answersOption() between single cues of answers() to display single questions differently (see example below).

Example

answersOption('show-explanation', 'yes');
answers('AB01');
answersOption('spacing', 60);
answersOption('show-explanation', 'no');
answersOption('show-items', 'all');
answers('AB02');
answers('AB03');
answersOption('show-explanation', 'no');
answersOption('show-items', 'selected');
answersOption('text-no-answer', 'n/a');
answersOption('symbol-selected', '◉');
answersOption('symbol-selected', '◯');
answersPrint('part2');