Forums
This topic is locked
Creating a preview when inserting new records
Posted 12 Jan 2004 13:32:32
1
has voted
12 Jan 2004 13:32:32 kirsty burgoine posted:
Hi,I know how to create forms to insert, update and delete records. What I want to do is add a preview page when inserting a new record, so the user can check that it appears on the page as they want it to before inserting the info into the database, but I'm unsure how to go about it.
Hope someone can help
Replies
Replied 30 Jan 2004 21:59:26
30 Jan 2004 21:59:26 Erik Piisila replied:
Hi Kristy:
The first form you make should not be your insert record form.
The first form should have an action to the second page where you request the form variables from the previous page, display them to the user.
On this "confirmation page" you will create a new form but this form will have all the variables as hidden fields and an insert record action. Make your button say confirm instead of submit.
Be sure to give them a back link to correct the info if needed.
You using ASP/VBScript?
The first form you make should not be your insert record form.
The first form should have an action to the second page where you request the form variables from the previous page, display them to the user.
On this "confirmation page" you will create a new form but this form will have all the variables as hidden fields and an insert record action. Make your button say confirm instead of submit.
Be sure to give them a back link to correct the info if needed.
You using ASP/VBScript?