Outputting the warnings/errors. This function was originally written to pair with checkValidConfig, but it is extensible: you can call it anytime you need to write out a concatenated warning and/or error string. All three arguments must be vectors of the same length. Does not return anything. It only writes out concatenated errors/warnings.
1 2 | display_config_messages(in.messages_vb,
in.informationalMessageWarningOrErrorIndicator_vc, in.messageText_vc)
|
in.messages_vb |
vector of Booleans indicating which errors/warnings to display |
in.informationalMessageWarningOrErrorIndicator_vc |
vector of strings indicating whether the message should be displayed as an informational message ("message"), warning ("warning"), or error ("error") |
in.messageText_vc |
vector of strings to be displayed to the user. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.