createNotAllowedPage: Create HTML Page for Users not Allowed to Participate

Description Usage Arguments Value

View source: R/create_not_allowed_page.R

Description

If you call checkId to make sure a user is acutally allowed to participate but he is already in your database and therefore not allowed to participate a second time you can then send him to this page. It does not include a continue button, i.e. you can't navigate any further through the experiment.

Usage

1
2
3
4
5
6
createNotAllowedPage(
  inputList,
  globId,
  idLabel = "WorkerID",
  idVar = "workerid"
)

Arguments

inputList

The input object from a shiny app.

globId

string. The global id given to the page on which the participant id was entered.

idLabel

string. The id label you want the participant to see, e.g. if this is set to "WorkerId" the participant will (among other things) see "You entered the WorkerID ...".

idVar

string. The id label specified for the textInput in the file given to createPageList.

Value

An html page that can be displayed by shiny.


mdsteiner/ShinyPsych documentation built on Feb. 12, 2022, 2:09 p.m.