php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

Printing highlighted PHP syntax
6/20/2000 4:34:21 PM

MySQL returns data-set even if where clause doesn't match ???
6/20/2000 4:25:24 PM

Multiple Recordsets
6/20/2000 1:48:11 PM

require() problem
6/20/2000 1:24:47 PM

Upload problems in Windows98, php3 and pws environment
6/20/2000 10:30:25 AM

foreign charcaters
6/20/2000 8:44:18 AM

Open source editor for windows?
6/20/2000 6:26:43 AM

Re: Help on uploading files to NT with IIS
6/20/2000 5:37:38 AM

how to print long records in more than one pages??
6/19/2000 10:12:13 PM

401 & $PATH_INFO
6/19/2000 9:23:32 PM

location.replace(url) Reply

Group: php.version3 Subscribe Posted:6/19/2000 9:49:45 PM Replies:0 Views:15 Items(0)
After a user submits a form,

I want to prevent them from using the back button to revisit the form and =
trying to correct their work.

location.replace will replace the page in the history list with the next =
page, but how do I use location.replace in the ACTION attribute of my =
form?

Thanks.

Tim

tim.mcgu...@dnr.state.mn.us ("Tim McGuire")
6/19/2000 9:49:45 PM




At 04:49 PM 6/19/00 -0500, Tim McGuire wrote:
>After a user submits a form,
>
>I want to prevent them from using the back button to revisit the form and
>trying to correct their work.
>
>location.replace will replace the page in the history list with the next
>page, but how do I use location.replace in the ACTION attribute of my form?

Perhaps try <form ... onsubmit="location.replace"> ?

Zak Greant

"I am rather like a mosquito in a nudist camp: I know what I ought to do,
but I don't know where to begin."
- Stephen Bayne

...@freeimages.com (Zak Greant)
6/19/2000 10:04:13 PM


Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM