addRequiredUI_internal {shinysurveys} | R Documentation |
Check if a question is required
Description
This function is for internal use. It will check if a question in the user-supplied questions dataframe is required. If so, it will add the label with an asterisk. If not, it will just return the label.
Usage
addRequiredUI_internal(df)
Arguments
df |
One element (a dataframe) in the list of unique questions. |
Value
A label with or without an asterisk to signify it is required.
[Package shinysurveys version 0.2.0 Index]