I suggest looking up Zend_Validate_Regex where you can set a specific regular expression. Looks like just the one you need :).
Paddy Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com OpenID Europe Foundation Member-Subscriber ----- Original Message ---- From: Tamer Higazi <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, June 6, 2008 2:34:55 PM Subject: [fw-general] customize Zend_Validate Hi! I have a problem with Zend_Validate. How do I customize filters according to my needs. for example, I have a form field that should accept only "Alpha" but also: - spaces between words - and the "-" character for people who have double names. Now I am not getting smart. Has anybody of you solved this issue before? for any support I would thank you very much. Tamer
