Description Usage Arguments Value See Also Examples
Validators are typically passed to the formServerFactory
function that
creates a server-part handler of the edit dialog.
1 | validator(inputIds, errorMessages, f)
|
inputIds |
a vector of input IDs for the validation function |
errorMessages |
a vector of error messages corresponding to the input IDs. This character
vector is recycled as needed to match the length of |
f |
a validation function that expects a single input argument and returns |
A list of instances of the S3 class validator
. The size of the resulting list
equals to the number of input IDs in 'inputIds'.
filledValidator
, formServerFactory
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.