Create Survey UI Wrapper
survey_ui_wrapper.Rd
Creates a Shiny UI wrapper for displaying a survey with an optional response table. The UI includes a loading spinner and conditional panels based on survey state.
Arguments
- id
String. ID for the survey div container.
- theme
String. SurveyJS theme, either "defaultV2" or "modern". Default: "defaultV2".
- theme_color
String. Hex color code for primary theme customization.
Numeric. Number of days to retain survey cookies. Default: 7.
- custom_css
String. Custom CSS rules to append to the theme.