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