formInput | R Documentation |
Form inputs are a new reactive input. Form inputs are an alternative to shiny's submit buttons. A form input is comprised of any number of inputs. The value of these inputs will not change until a form submit button within the form input is clicked. A form input's reactive value depends on the clicked form submit button. This allows you to distinguish between different form submission types, think "login" versus "register".
A form submit button, formSubmit()
, is a special type of button used to
control form input submission. A form input and its child reactive inputs
will never update if a form submit button is not included in ...
passed
to formInput()
.
formInput(..., id, inline = FALSE)
formSubmit(label, value = label, ...)
updateFormInput(id, submit = FALSE, session = getDefaultReactiveDomain())
... |
Any number of unnamed arguments passed as child elements to the
parent form element or named arguments passed as HTML attributes to the
parent element. At least one |
inline |
One of |
label |
A character string specifying the label of the form submit button. |
value |
A character string specifying the value of the form submit
button and the value of the form input when the button is clicked,
defaults to |
submit |
One of |
Other inputs:
checkbarInput()
,
chipInput()
,
fileInput()
,
input_button()
,
input_checkbox()
,
listGroupInput()
,
menuInput()
,
radioInput()
,
radiobarInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.