- db
A list containing database connection information created using
sd_database() function. Defaults to NULL. If NULL, will be auto-detected
from the calling environment or remain NULL (ignore mode).
- required_questions
Vector of character strings. The IDs of questions
that must be answered. Defaults to NULL (no required questions).
- all_questions_required
Logical. If TRUE, all questions in the
survey will be required. Defaults to FALSE.
- start_page
Character string. The ID of the page to start on.
Defaults to NULL (first page).
- show_previous
Logical. If TRUE, shows the Previous button on survey
pages. Defaults to FALSE.
- auto_scroll
Logical. Whether to enable auto-scrolling to the next
question after answering. Defaults to FALSE.
- rate_survey
Logical. If TRUE, shows a rating question when exiting
the survey. If FALSE, shows a simple confirmation dialog.
Defaults to FALSE.
- system_language
Set the language for the survey system messages. Include
your own in a messages.yml file, or choose a built in one from
the following list: English ("en"), German ("de"), Spanish ("es"),
French ("fr"), Italian ("it"), Simplified Chinese ("zh-CN").
Defaults to "en". Note: The deprecated language parameter is still
supported for backward compatibility.
- use_cookies
Logical. If TRUE, enables cookie-based session management
for storing and restoring survey progress. Defaults to TRUE. Can be
overridden by use_cookies setting in the survey.qmd YAML header.
- highlight_unanswered
Logical. If TRUE, enables highlighting
of all unanswered questions on page display. Defaults to TRUE.
- highlight_color
Character string. Color for highlighting unanswered
questions. Options are "blue", "orange", "green", "purple", "gray", or "grey".
Defaults to "gray".
- capture_metadata
Logical. If TRUE, automatically captures and stores
browser information (browser name, version, and OS), IP address, and
screen resolution.
Defaults to TRUE.
- language
Deprecated as of v0.13.0. Use system_language instead.
This parameter. is maintained for backward compatibility only.