
July 20th, 2006, 04:56 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
QuickForm and Flexy Renderer
Hello
I really like using the Flexy Renderer for php, but I have hit this problem with dynamic forms. So, I hit database and retrieve results. I want to generate a table that has form elements in it. In flexy,
{form.first_name.html:h} works great, because the renderer flattens the elements as properties off the form object. But, how can I loop over a collection of dynamic elements? There is no master collection of the elements ( I thought grouping them would work). I don't know why the renderer doesnt do an [elements] array, or honor the [sections] of the quickform object. Any ideas? I want to do a for loop in flexy that loops over the results set, and does a dd menu for each row in quickform.
|