1 Sep 01:19
Re: Multiple Nest Loops
Nate Wiger <nate <at> sun.com>
2005-08-31 23:19:45 GMT
2005-08-31 23:19:45 GMT
Todd Charron wrote:
> Ok, this has got my head spinning, so perhaps someone here can help me out.
>
> I'm looking to have rows of data pulled from a database and put in divs within
> a form. if there are no rows then it should display the html once with empty
> fields. Each row has a drop down list populated and looped from the database
> as well. Once the data has been looped through, I'd like there to be one
> loop through with no data (blank fields).
First, I would probably design this differently. I would recommend a
screen listing existing entries, each with an "Edit" link/button, and
then a separate add/edit form:
Campaign Emails [New]
Some value a <at> b.com, b <at> c.com [Edit]
Some other value a <at> b.com, b <at> c.com [Edit]
The "New" button would take you to a blank form, and the "Edit" button
would take you to the same form, just with values filled in (just pass
the values into FormBuilder via the "values" option).
-Nate
RSS Feed