Add an error message that is shown to the user
Available since version 0.3.10.
Usage
// basic usage
$formBuilderProcessor->addError(string $text);
// usage with all arguments
$formBuilderProcessor->addError(string $text, bool $prepend = false);
Arguments
Name | Type(s) | Description |
---|---|---|
text | string | |
prepend (optional) | bool |
FormBuilderProcessor methods and properties
API reference based on ProcessWire core version 3.0.236