Hi,

you can use 
http://framework.zend.com/manual/en/zend.form.standardDecorators.html#zend.form.standardDecorators.viewScript
ViewScript decorator .


Regards

Martin H.


Václav Vaník wrote:
> 
> Hi,
> 
> I am quiet lost in Zend_Form :/
> 
> I have defined Zend_Form instance:
> 
> $form = new Zend_Form();
> ...
> ...
> creating some elements
> ...
> ...
> 
> //adding elements to form
> 
> $form->addElement($username)
>           ->addElement($password)
>           ->addElement($submit);
> 
> And my question is, how could I add to the same <dd> as is $submit button
> this code:
> 
>      "<?php echo $this- url(array('action' => 'forgotten-password')); ?>">
>         <?php echo $this->translate('Forgotten password'); ?>
>      
> 
> Thx for hints :)
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-add-code-to-Zend-Form--tp18939206p18947084.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to