Howto see if form fields are identical in Zend framework
        Posted  
        
            by atjepatatje
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by atjepatatje
        
        
        
        Published on 2010-04-28T19:47:31Z
        Indexed on 
            2010/04/28
            19:57 UTC
        
        
        Read the original article
        Hit count: 286
        
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.
© Stack Overflow or respective owner