addRequiredUI_internal: Check if a question is required

Description Usage Arguments Value

View source: R/survey_code.R

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

1

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.


shinysurveys documentation built on July 11, 2021, 9:06 a.m.