Input validation rule that tests for a partial IP address. See also IPAddressRule.
$form->addRule (new PartialIPAddressRule ('fieldName'));
This example checks that the value in the field “fieldName” is a partial IP address.