Recent changes RSS feed
 

DomainRule

Input validation rule that tests for a valid domain name. Things like proper characters, double-hyphens, starting with periods, double periods, etc. are tested for.

Example

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

This example checks that the value in the field name “fieldName” is a valid domain name.

Additional Information

 
wact/api/validation/rule/domainrule.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development