This function creates a copy of an input value and makes it available as a new output.
The new output can then be displayed using sd_display_value().
Usage
sd_copy_value(id, id_copy)
Arguments
- id
The ID of the input value to copy
- id_copy
The ID for the new copy (must be different from id)
Value
NULL invisibly. This function is called for its side effects.
Examples
if (FALSE) { # \dontrun{
sd_copy_value(id = "respondent_name", id_copy = "resp_name2")
# Then in UI:
# sd_display_value("resp_name2")
} # }