Re: php and forms question

From: Date: Wed, 31 Jan 2001 04:01:21 +0000
Subject: Re: php and forms question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37406@lists.php.net to get a copy of this message
On Wed, 31 Jan 2001 14:26, Chip wrote: > I am trying to build a multi-part form and am > using the example from the book Beginning PHP4 > by Choi, Kent, Lea, et al. in chapter 8. > Here's what I want to do - > form_page1 - 10 input fields size=3 > then onwards to > form_page2 - 5 input fields size=3 > then onwards to > form_page3 - 5 input fields size=3 > (and about 5 or 6 pages more) > form_page10 has submit button > then the thankyou page with a list of the > items chosen on the previous pages. > > These items will be brochures, the text-boxes > are for a quantity. Most people will only want > one but our authorized dealers can order as > many as they need, whence the need for the > size being 3 characters. > > In the example in the book they use a drop- > down list, so only one item on the list can be > chosen, this won't work for me. Drop down lists can be multiple select types - use the keyword MULTIPLE when defining the SELECT. > > How do I store all the choices from each subsequent > page and bring them all together on the final page? > > Thankyou, Pass them as hidden fields. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#37406) next »