Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #2356
| From | Bill B <me@privacy.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: multi-page form |
| Date | 2011-06-27 14:24 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <iuahs3$i6b$1@dont-email.me> (permalink) |
| References | <iuabqa$530$1@dont-email.me> <iuaepo$ps6$1@dont-email.me> <iuafcq$v85$1@dont-email.me> |
On 6/27/2011 1:41 PM, William Gill wrote: > On 6/27/2011 1:31 PM, Bill B wrote: >> Once the values of the form have been processed, assign them to session >> variables, which will survive from page to page so long as the session >> has not been unset or destroyed. On each page set $someformvar = >> $_SESSION['someformvarvalue']. The fields in the form can be populated >> with the value of the session variables using something like >> value="<?php echo $someformvar ?>". > > You may be missing my point. I know how to set and get session > variables, but I need to insure "the values of the form have been > processed" if the user hits the back button, or otherwise returns to a > previous form page. Does each page have its own submit button? If so, pressing the submit button will process the form on that page. While hitting the back button on the browser has its own set of problems, it doesn't unprocess the page, but the page could be reprocessed if the user hits the submit button again. You could display the form dynamically, and if the user goes backward, and if the form was posted and field session variables are already set, you can dispay an error or warning, then send them on to the next page/form that should be completed and processed. Bill B
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
multi-page form William Gill <noreply@domain.invalid> - 2011-06-27 12:40 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-27 13:31 -0400
Re: multi-page form William Gill <noreply@domain.invalid> - 2011-06-27 13:41 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-27 14:24 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-27 17:32 -0400
Re: multi-page form William Gill <nospam@domain.invalid> - 2011-06-27 18:01 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-27 18:18 -0400
Re: multi-page form Graham Hobbs <ghobbs@cdpwise.net> - 2011-07-05 20:06 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-27 18:54 -0400
Re: multi-page form William Gill <nospam@domain.invalid> - 2011-06-28 04:22 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-28 06:53 -0400
Re: multi-page form William Gill <nospam@domain.invalid> - 2011-06-28 12:13 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-28 14:00 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-28 15:02 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-28 15:06 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-28 15:46 -0400
Re: multi-page form William Gill <nospam@domain.invalid> - 2011-06-28 16:05 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-28 16:12 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-28 16:20 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-28 18:58 -0400
Re: multi-page form Jeff North <jnorthau@yahoo.com.au> - 2011-06-29 09:30 +1000
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-28 20:21 -0400
Re: multi-page form Jeff North <jnorthau@yahoo.com.au> - 2011-06-29 14:52 +1000
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-29 07:59 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-29 08:09 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-29 08:41 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-29 08:48 -0400
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-29 11:08 -0400
Re: multi-page form Bill B <me@privacy.net> - 2011-06-29 12:27 -0400
Re: multi-page form Jeff North <jnorthau@yahoo.com.au> - 2011-06-29 23:10 +1000
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-29 11:09 -0400
Re: multi-page form Michael Fesser <netizen@gmx.de> - 2011-06-29 18:56 +0200
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-29 15:32 -0400
Re: multi-page form "Peter H. Coffin" <hellsop@ninehells.com> - 2011-06-28 13:57 -0500
Re: multi-page form Jeff North <jnorthau@yahoo.com.au> - 2011-06-29 08:46 +1000
Re: multi-page form William Gill <nospam@domain.invalid> - 2011-06-28 19:29 -0400
Re: multi-page form Jeff North <jnorthau@yahoo.com.au> - 2011-06-29 15:15 +1000
Re: multi-page form Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-29 08:01 -0400
Re: multi-page form Michael Fesser <netizen@gmx.de> - 2011-06-29 19:00 +0200
Re: multi-page form Michael Fesser <netizen@gmx.de> - 2011-06-29 19:05 +0200
Re: multi-page form William Gill <nospam@domain.invalid> - 2011-06-29 13:44 -0400
csiph-web