Table of Contents

DNSDomainRule

Input validation rule that tests for a valid domain name with a valid DNS “A” record. If DNS services are unavailable data will not be considered invalid, possibly preventing data entry when connectivity is bad.

Example

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

This example will check that the value in the field named “fieldName” has a valid DNS “A” record.

Additional Information