RE: [PHP] Multipage form redux

From: Date: Thu, 28 Jul 2005 13:07:56 +0000
Subject: RE: [PHP] Multipage form redux
Groups: php.general 
Request: Send a blank email to php-general+get-219501@lists.php.net to get a copy of this message
On 28 July 2005 13:39, Jack Jackson wrote: > What I wanted to do was this: > > > p. 1 : I send client page one, they send answers. SUBMIT > sends to page 2 > script. > > p 2. Before displaying anything to the client, Page 2 script validates > input from page 1. If there are problems, page 2 script > redisplays page > one questions with highlights around problems. Clicking submit then > resubmits page one data to page 2 script. > > Once page 2 script validates all page 1 answers, page 2 script stores > all those answers to a SESSION, then sends PAGE 2 QUESTIONS ONLY (no > $_POST information) to client. Client answers page 2 questions and > clicking submit submits PAGE 2 QUESTIONS to page 3 script. [....] > > Is this possible? How? With the caveat that I agree with what everyone has said about the duration of sessions, my answers to your 2 questions are: Yes. And exactly as you have described it. So what part of the implementation in PHP do you *really* not understand? Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

« previous php.general (#219501) next »