Runs the form's rules and reports the outcome the same way a submit does,
so the same observeEvent handles both. Use it when the form has no submit
button of its own (submit_label = NULL).
Usage
el_form_validate(session = shiny::getDefaultReactiveDomain(), id)Arguments
- session
Shiny session; the current one by default, as for
shiny::updateTextInput().- id
Form ID (un-namespaced).
Examples
if (interactive()) {
# inside a server function
observeEvent(input$go, {
el_form_validate(session, "signup")
})
}