Skip to contents

To disambiguate between similar occupations. Depending on the suggestion, multiple followup questions can be shown.

Usage

page_followup(index, is_interview = FALSE, ...)

Arguments

index

The index of the followup question (1-based). To show the first followup question (if there are any) use page_followup(index = 1), to show a potential second followup question use page_followup(index = 2). For example questionnaire_web_survey() uses ..., page_followup(index = 1), page_followup(index = 2), ...

is_interview

Should the page show slightly different / additional instructions and answer options for an interview that is conducted by another person? Defaults to FALSE.

...

All additional parameters are passed to new_page()

Value

A page object.

See also

Examples

data.table::setDTthreads(1)

if (FALSE) {
my_questionnaire <- list(
  page_first_freetext(),
  page_second_freetext(),
  page_select_suggestion(),
  page_none_selected_freetext(),
  page_followup(1),
  page_followup(2)
)
if (interactive()) {
  app(questionnaire = my_questionnaire)
}
}