A psychTestR page that gets the participant to enter their ID.

get_p_id(prompt = "Please enter your participant ID.",
  placeholder = "e.g. 10492817", button_text = "Next",
  width = "300px", validate = "auto", admin_ui = NULL)

Arguments

prompt

Prompt to display (character scalar or Shiny tag object)

placeholder

Placeholder text for the text box (character scalar).

button_text

Text for the submit button (character scalar).

width

Width of the text box (character scalar, should be valid HTML).

validate

See page.

admin_ui

See page.

Note

Participant IDs must be between 1 and 100 characters long, and solely comprise alphanumeric characters and underscores.