- page_id
A unique string identifiying this page. Used to store data.
- question_text
The question / text to display.
This can be either a string, which will simply be displayed or a function
to dynamically determine the question_text.
- list_of_choices
A list of answering options.
This can either be just a simple list of values or a named list with the
names corresponding to what the user sees and the values corresponding to
the actually saved values.
e.g. with list(One = 1, Two = 2, Three = 3)
people will see One, Two, ...
and numbers 1, 2, ... will be saved under response_id
.
If you want to use more complex choice names than jsut strings (i.e. HTML),
you can also use the choice_labels option for that.
- choice_labels
List or vector of only the choice names to be shown.
This has to be matched by an equal-length vector in list_of_choices.
- next_button
Whether to show the button to navigate to the next page?
Defaults to TRUE.
- previous_button
Whether to show the button to navigate to the preivous page?
Defaults to TRUE.
- run_before
Similar to run_before
in new_page()
, passed explicitly
here as this page adds some of its own code to run_before
.
- run_after
Similar to run_after
in new_page()
, passed explicitly
here as this page adds some of its own code to run_after
.
- ...
Other parametrs are passed on to new_page()