View source: R/utils_text_is_valid_input.R
| text_is_non_zero_string | R Documentation |
must be in server
text_is_non_zero_string(text, test_custom_function = NULL)
text |
input text to assert is a string (string) |
test_custom_function |
a function which takes the value of the textInput and returns TRUE/FALSE depending on whether it meets expectations. If supplied, textInput value must be a non-emptystring AND pass the custom function's test(function) |
True if valid text is found in. FALSE if it is not (flag)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.