Howto see if form fields are identical in Zend framework
- by atjepatatje
Hi there,
In Zend Framework (1.10) i want to check if two input fields are identical
I have the following code in my form:
$this->addElement('password', 'password', array(
'label' => 'Wachtwoord:',
'required' => true
)
);
$this->addElement('password', 'verifypassword', array(
'label' => 'Bevestig wachtwoord:',
'required' => true,
)
);
I already tryed the "identical" validator, but I did'nt got it to work.