A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

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 ;)

This entry was posted in General and tagged , , . Bookmark the permalink.

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

  1. christer says:

    Hey! Glad I could help! :)

  2. Emeric says:

    I’m Looking too…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>