Salve a tutti.
Volevo un aiuto riguardo alla generazione di un form tramite zend_form.
In pratica ho generato il mio form con 2 display group :
Codice PHP:
$loginbutton = new Zend_Form_Element_Submit('log');
$loginbutton->setLabel('Login')
->setAttrib("class", "ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only");
$resetbutton = new Zend_Form_Element_Reset('reset');
$resetbutton->setLabel('Resetta')
->setAttrib("class", "ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only");
$this->addElements( array($id,$username,$password,$pwdtype,$loginbutton, $resetbutton) );
$user =$this->addDisplayGroup( array('id','userid','password','passwordtype','log','reset'), 'user');
$login = $this->addDisplayGroup( array('userid','password','log','reset'), 'login');
solo che volevo impostare 2 action diverse per i due display group.
Qualcuno può aiutarmi ?
Grazie.