-- Bob O <b...@electricgraffitti.com> wrote
(on Thursday, 15 January 2009, 01:24 PM -0800):
> I was wondering if someone could point me in the right direction to pull
> elements from a config file and plug them into form helpers..
> 
> Currently i have the form.ini file, and am able to pull from that file
> through the controller and into the views. but I am putting them into
> standard <form> tags. where id like to use form(); 
> 
> can anyone help me out?

The manual is your friend: 

    
http://framework.zend.com/manual/en/zend.form.forms.html#zend.form.forms.config

Basically, pass some configuration to the Zend_Form constructor, and
then echo the object.

    $form = new Zend_Form($config);
    echo $form;

-- 
Matthew Weier O'Phinney
Software Architect       | matt...@zend.com
Zend Framework           | http://framework.zend.com/

Reply via email to