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

NameType(s)Description
$pagePage
$inputfieldInputfield InputfieldRepeater

Inputfield that has already had its processInput() method called.

$namestring

Name of field that we are checking.

$errorAction (optional)null int

Error action from $page->template->errorAction, or omit to auto-detect.

Return value

bool

Returns 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