ProcessPageEdit::processInputErrorAction()
Process required error actions as configured with page’s template
Usage
// basic usage
$bool = $processPageEdit->processInputErrorAction(Page $page, $inputfield, string $name);
// usage with all arguments
$bool = $processPageEdit->processInputErrorAction(Page $page, $inputfield, string $name, $errorAction = null);Arguments
| Name | Type(s) | Description |
|---|---|---|
$page | Page | |
$inputfield | Inputfield InputfieldRepeater | Inputfield that has already had its processInput() method called. |
$name | string | Name of field that we are checking. |
$errorAction (optional) | null int | Error action from $page->template->errorAction, or omit to auto-detect. |
Return value
boolReturns true if field $name should be skipped over during processing, or false if not
ProcessPageEdit methods and properties
API reference based on ProcessWire core version 3.0.252