InputfieldPassword::isValidPassword()

Return whether or not the given password is valid according to configured requirements

Exact error messages can be retrieved with $this->getErrors().

Usage

$bool = $inputfieldPassword->isValidPassword(string $value);

Arguments

NameType(s)Description
$valuestring

Password to validate

Return value

bool


InputfieldPassword methods and properties

API reference based on ProcessWire core version 3.0.251