invalidateInput() and validateInput() are new utilities for conveying
information to users. invalidateInput() adds text to an input letting a
user know why an input is valid or invalid. Additionally, invalidateInput()
will immediately freeze an input. As a result, further observers or reactives
using the input are not triggered. validateInput() will immediately thaw
the reactive input, thus allowing subsequent observers and reactives to
trigger.
invalidateInput(id, message = NULL,
session = getDefaultReactiveDomain())validateInput(id, session = getDefaultReactiveDomain())
A character string specifying the id of an input.
A character string specifying the message, default to NULL,
in which case the input is highlighted, but no message is shown.
A reactive context, defaults to getDefaultReactiveDomain().
Other utilities: enableInput,
updateInput