mergeFormElements | R Documentation |
This function combines the contents of an
HTML form element with existing
information for that named element.
This integerates the possible options,
the default/selected values to combine
the different HTML elements into a
single R object.
The function finds the corresponding element
in the existing set given by elements
and adds the information in el
with that element in elements
.
mergeFormElements(el, elements, name = el$name)
el |
the |
elements |
a named list of previously collected |
name |
the identifier to determine which element in
|
The original list elements
with the new information
merged from el
.
One typically assigns the return value from this function
to the variable used as the input for elements
.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
link{htmlSelectElement}
link{htmlTextAreaElement}
link{htmlInputElement}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.