FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » multi-page form
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: multi-page form [message #174712 is a reply to message #174710] Wed, 29 June 2011 12:01 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 6/29/2011 1:15 AM, Jeff North wrote:
> On Tue, 28 Jun 2011 19:29:27 -0400, in comp.lang.php William Gill
> <nospam(at)domain(dot)invalid>
> <iudo57$5bq$1(at)dont-email(dot)me> wrote:
>
>> | On 6/28/2011 6:46 PM, Jeff North wrote:
>> |
>> |> Have you thought about using a tabbed interface in a single html file?
>> |>
>> |> The concern with this type of page is the session may timeout before
>> |> the user has a chance to complete the form.
>
> Another problem that I thought of after I posted this. The tabbed
> interface will need to be JavaScript driven so if JS is disabled then
> no-go (although you could make it just one huge continuous form).
>
>> | Actually no I hadn't, but as you say session timeout may be a problem.
>> |
>> | Or is it?
>> |
>> | If the information is stored in the browser until the user says "OK, I'm
>> | done!" (clicks submit, or whatever mechanism), and there is no need to
>> | retain info from a previous page, session variables wouldn't be needed.
>> |
>> | Then again, there's still the problem of a user clicking "back" either
>> | on purpose, or by mistakenly clicking "back" instead of a tab.
>
> If the user hits the back button then they will be returned to the
> previous page (as expected). If they then hit the forward button they
> will be returned to the data entry page (as expected). With this type
> of navigation the browser usually fetches the information from cache.
> If cache isn't used then the user will get the message do the want to
> refresh the page and loose all of their data inputs :-)
>

Not if you fill the form in from the $_SESSION array, as I suggested.
When you hit the back button the data will still appear, even if the
page wasn't in the cache.

>> | (don't mind me, I frequently have these arguments with myself)
>
> As long as they remain verbal arguments then you should be fine :-P


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get php5-mbstring where people can use it
Next Topic: Copying data between databases
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 14:36:43 GMT 2024

Total time taken to generate the page: 0.04248 seconds