What's the simplest way to create a Zend_Form tabular display with each row having a radio button?
- by RenderIn
I've seen simple examples of rendering a Zend_Form using decorators, but I'm not sure they are able to handle the issue I'm facing very well.
I query the database and get an array of user objects. I want to display these users as a form, with a radio button next to each of them and a submit button at the bottom of the page.
Here's roughly what the form will look like:
[user id] [email] [full name]
( ) 1 [email protected] Test user 1
(*) 2 [email protected] Test user 2
[SUBMIT]
Is this something achievable in a reasonably straightforward way or do I need to use the ViewScript partial?