Zend Form Validate Range Date
who gives me a hand to create a custom validator for Zend Framework, which checks that a date is in to a range? Example: dateGT = 2011-09-05 dateLT = 2011-07-05 if the form field is set to: dateFieldForm = 2011-08-15 I expect the validator returns true! and if the form field is set to: dateFieldForm = 2011-10-15 I expect the validator returns false! venimus Sorry, large code ahead: <?php /** @see Zend_Validate_Abstract */ require_once 'Zend/Validate/Abstract.php'; /** * @category Zend * @package Zend_Validate * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)