submit_lab_btn | R Documentation |
A name input needs to be placed before the submit button using lab_name_input()
.
submit_lab_btn( label = "Download answers", filename = "lab_answers.md", require_validation = TRUE, render_html = FALSE )
label |
button label |
filename |
name of the file offered to the user for download. The file extension is irrelevant. |
require_validation |
create a markdown file with validation information. |
render_html |
directly render the lab as HTML instead of outputting a markdown file.
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.