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:
- Confirm email
- Confirm password
Exactly what I was looking for