Forums

This topic is locked

confirming user info entered in a form HELP!

Posted 22 Sep 2003 20:55:28
1
has voted
22 Sep 2003 20:55:28 Eric Borgman posted:
I have users enter in a lot of information in a form using the post method. After they click submit I want them to be able to review all the info they're entering to make sure it's correct. On the next page, I tried doing a recordset where I attempt to filter based on one of the unique fields they entered using request.form("name". However, I get an error saying something like the record has been deleted or doesn't exist. I think what is happening is before the new record is created, its trying to bring up the recordset. Can anyone tell me how I fix this?

Replies

Replied 26 Sep 2003 10:55:34
26 Sep 2003 10:55:34 Stuart Harland replied:
The way I do 'confirm' pages in asp/vbscript is:

User enters information
onSubmit all form data is posted to a 'confirm' page - this is essentially response.write's of all the previous forms data - if they need to change the data, offer them a 'back to change' button
the submit of this 'confirm' page will add the record to the database

This means the database is only used once.


********************
Stuart - Ferox
Web Applications Developer
ASP.Net/ ASP

Reply to this topic