lab_name_input: Add a text input for the user's name and id

lab_name_inputR Documentation

Add a text input for the user's name and id

Description

Add a text input for the user's name and id

Usage

lab_name_input(
  title = "Student information",
  label = "Your name",
  label_id = "Your student nr.",
  error_name_empty = "Your name must not be empty.",
  error_id_wrong_length = "The student number must be 8 digits.",
  error_id_wrong_format = "The student number must be 8 digits."
)

Arguments

title

title for the panel containing the name input.

label

label of the name input.

label_id

label for the input for the student number (id). If NULL, the input will not be shown.

error_name_empty, error_id_wrong_length, error_id_wrong_format

error messages for an empty name input, or a wrong id input. If the error message is NULL, the check is disabled.


dakep/stat305templates documentation built on Nov. 27, 2022, 8:23 a.m.