powered by
Convert a (pre)registration form to html
form_to_html( x, file = NULL, section = NULL, headingLevel = 1, silent = preregr::opts$get("silent") )
x, invisibly
The (pre)registration form (as produced by a call to form_create()) or initialized preregr object (as produced by a call to prereg_initialize()).
form_create()
preregr
prereg_initialize()
Optionally, a file to save the html to.
Optionally, one or multiple sections to include (if NULL, all sections are included).
NULL
The level of the top-most headings.
Whether to be silent or chatty.
### Load an example (pre)registration specification data("examplePrereg_1", package = "preregr"); ### Extract the form and show it as HTML preregr::form_to_html( examplePrereg_1 );
Run the code above in your browser using DataLab