Re: Creating multiple elements of the same fields into an array with FormBuilder

From: Date: Sat, 22 Oct 2005 08:00:10 +0000
Subject: Re: Creating multiple elements of the same fields into an array with FormBuilder
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21588@lists.php.net to get a copy of this message
I seem to be able to use the same object and it will display the elements again in a flexy loop fine, however i cant seem to be able to set the elements with an array elementname like fieldname[] , ive had to pre define the elements in formbuilder becvause i need the element names with an array obviouslly to display it more than once :| Any ideas there ? On 22/10/2005, at 4:12 PM, Dan Rossi wrote:
Hi, Im trying to work out a way to create multiple elements of fields as arrays into a form. Ie I want the fields to be grouped in a row and then i can list say 5 rows of these elements. To give you an idea what i am doing. I am trying to be able add Track Titles for albums, but i would like to list more than one item at a time, say we had 10 tracks 10 rows. So in each row i want to display the title, a list menu of artist names from a DO and the duration. Any help with this would rock thanks. -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.pear.general (#21588) next »