Hello,
I need to create a form, but the issue is fields are created from a
database. A lot of checkboxes fields are created from a database table.
Now I've created a Model, I query the database and get an array of data.
This Model is called from the controller, and data are passed to the
view. At the view I create the input fields.
My doubt is, if it's much better and recomended to create the form
extending the Zend/Form object and query the database from the Form
object to create checkbozes form elements inside the Form.
Any clarification will be appreaciate.
Thanks in advance.
--
J. Manuel Velasco Martínez
Técnico Responsable
Infraestructura Oficina de Proyectos - Managed Services
e-mail: [email protected]
Group e-mail: [email protected]
Tfno: 915 293 670 [63670]
IM: [email protected]
IBM Global Services España
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]