Learn R Programming

shinysurveys (version 0.1.2)

addRequiredUI_internal: 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.