Zend Framework How To: Creating your own validator for confirm passwords and emails

Last night I was working on the registration page of my pet-project. I am using Zend_Form for it but I had difficulties creating a validator to confirm 2 fields in the form. I chatted around #zftalk and checked the ZF Documentation but I could not understand anything. I needed a concrete working example.

Today I found this. It has more or less a complete coverage with sample source-code and some explanation.

My “register user” form consists of four elements:

  • Email
  • Confirm email
  • Confirm password
  • Password

Exactly what I was looking for ;)


Subscribe to comments Comment | Trackback |
Post Tags: , ,

Browse Timeline


Comments ( 2 )

Hey! Glad I could help! :)

christer added these pithy words on May 14 08 at 8:21 pm

I’m Looking too…

Emeric added these pithy words on May 22 08 at 11:48 am

Add a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> <pre lang="" line="">


© Copyright 2007 eKini: Web Developer Blog . Thanks for visiting!