Good points, Rudy -  I guess I had just assumed that hitting the edit
button (history.go(-1)) would take them back to where they were like it
was for me.  Maybe I am way too naïve to think that.

I had thought about doing the single page idea, but haven't personally
done one that way before and wasn't sure where to start.  However, I can
see a few advantages to doing it.  I will do some more research on it!  

Thanks!
Todd




-----Original Message-----
From: rudy [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 17, 2003 4:52 PM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] Re: Passing and saving form variables


> Do I need to just add hidden fields down in the new <form></form> that

> has the values from above?

that's one way, and quite common

but you also have to be prepared for what happens when they go back to
the form, because for some browsers, the stuff they typed into the form
fields gets mysteriously "lost"

therefore the form page itself should ideally be able to receive the
contents of the hidden fields that are passed back by the preview page

so, in all, we are talking about three pages, right?  the form page, the
preview page, and the processing page?

here's a thought:  what if there was only one page that did all three
functions?

it displays the form

it displays the preview

it processes the submit

what would the code look like that would distinguish what the page is
supposed to do on any given time it is invoked?

this approach (only one page) is probably the toughest to latch onto,
conceptually, but once you figure it out, it's probably the easiest to
code and maintain


rudy


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To
unsubscribe send a blank email to %%email.unsub%%


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to