Add a warning that can be shown to user but does not prevent form submission
Available since version 0.4.3.
Usage
// basic usage
$formBuilderProcessor->addWarning(string $text);
// usage with all arguments
$formBuilderProcessor->addWarning(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