Forums
This topic is locked
Registration page
Posted 12 Mar 2002 01:03:56
1
has voted
12 Mar 2002 01:03:56 phil bradders posted:
hi,Ive created a registration page, which checks if user name already exists.
The problem i have is that when it finds one it redirects to another page where i can put the error msg, but when i place a button taking them back they have to fill the form out again.
Other than using session variables, is there a way I can keep the data on the original registration page.
I could use request.form on second page I suppose but ive used the ready made extention that passes a querystring only to the error page and becos of that it wont post the other form items. If it did I could hide them and post them back I suppose but Im unsure how to do this..
please help
Replies
Replied 12 Mar 2002 02:01:19
12 Mar 2002 02:01:19 Owen Eastwick replied:
On your error page put a button, image or text link then use a JavaScrip Back, this is like clicking back button on the browser toolbar so all the info should still be in the form.
<a href="#" onClick="history.back()">Back</a>
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
<a href="#" onClick="history.back()">Back</a>
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 12 Mar 2002 02:11:16
12 Mar 2002 02:11:16 phil bradders replied:
Doh!
excellent thanks very much for that
excellent thanks very much for that
Replied 13 Mar 2002 03:45:59
13 Mar 2002 03:45:59 scre wdanger replied:
Another simle way is:
For example your registration page is registration.asp. Then save it as usernameexists.asp with the difference that
it has an additional tread/table that say
username already in use.
For example your registration page is registration.asp. Then save it as usernameexists.asp with the difference that
it has an additional tread/table that say
username already in use.