Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #2405

Re: multi-page form

From William Gill <nospam@domain.invalid>
Newsgroups comp.lang.php
Subject Re: multi-page form
Date 2011-06-29 13:44 -0400
Organization A noiseless patient Spider
Message-ID <iufoad$e48$2@dont-email.me> (permalink)
References <iuabqa$530$1@dont-email.me> <nhmm075su1ru8dtk31j05t71cie2mq8e0b@mfesser.de>

Show all headers | View raw


On 6/29/2011 1:05 PM, Michael Fesser wrote:
> .oO(William Gill)
>
>> I am working on a form that will traverse many pages (lots of context
>> and a few inputs on each page).  My concern is the user navigating back
>> and forth between pages w/o losing data (i.e. via the back button).
>
> Why should they fill out a form page and then, instead of submitting it,
> hit the back button? And if they do, it's their problem I think.
My client wants the user to fill out the application form.  If I let the 
user screw up, that's my problem.

> Every 'next' button on the form pages should be a submit button and send
> the data from the current page to the server, where it's stored in a
> session. After such a submit the user can change to any previous page as
> he wants, because the data is already stored on the server.
That goes w/o saying.

My concern is not when a user does what I want and expect, but when they 
don't.

>> As far as I can tell, I need to integrate ECMA script, XMLHttpRequest,
>> and session variables, triggered by the onLoad and onUnload events.
>
> Ugly, unreliable and IMHO completely unnecessary.
>
> Micha

May need to use different events, and realize nothing is 100%, but this 
is a safety net.

As far as JS being disabled (mentioned regularly throughout this 
thread), the user has two choices. 1) Print amd mail the pdf, or 2) 
enable JS to do things "on line."


Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


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