Validating URIs in Zend_Form
Sudheer has posted an article over on LAMPComputing.com on how to Valdiate URIs in form fields by using a custom validator.
I came across a situation where I had to write a custom class to validate URIs. To write the custom URI validator I made use of Zend_Uri which aids in manipulating and validating Uniform Resource Identifiers (URIs). In particular I used Zend_Uri::check() function to validate the URI in question.
He then goes on to show how he created his validator class and how to use it with Zend_Form.


Sudheer responded on 10 Aug 2008 at 9:53 am #
I was wondering why this was not packaged with Zend Framework itself.