Table of Contents

PartialIPAddressRule

Input validation rule that tests for a partial IP address. See also IPAddressRule.

Example

$form->addRule (new PartialIPAddressRule ('fieldName'));

This example checks that the value in the field “fieldName” is a partial IP address.

Additional Information