> -----Original Message----- > From: buster [mailto:[EMAIL PROTECTED] > If you look in the docs here: > http://framework.zend.com/manual/en/zend.filter.input.html > under 13.5.4.1. > they actually give this exact situation. I wrote a very quick > validator to do just what you (and the docs) are talking > about. I would post it, but ran into some other problems that > I haven't worked out quite yet.
There is sample code for a validator that does this, in <zf-home>/tests/Zend/Filter/_files/TestNamspace/StringEquals.php. You can use this as a basis for writing the validator you need. But there is a bug in Zend_Filter_Input that causes a problem if you use this validator with any other validators in the same invocation of ZFI. See http://framework.zend.com/issues/browse/ZF-1709. Hopefully I can fix this bug during the next few days in time for the ZF 1.0.1 release. Regards, Bill Karwin
