Forums
This topic is locked
ASP VB Script (Page/Form Preview)
Posted 14 Mar 2005 10:29:35
1
has voted
14 Mar 2005 10:29:35 Olatunde Baruwa posted:
How do I preview a form in order to track errors before inserting the record into the database like the post topic preview on this site.Please,I need the steps to achive this.Thanks Replies
Replied 14 Mar 2005 10:34:57
14 Mar 2005 10:34:57 Vince Baker replied:
The way that is done on this site is:
1. Form to collect all info
2. Set the method of your form to post and action to a second page
3. Build the same form on the second page and in each field, set the default value to Request.Form("your_field_names"
4. When the form on the first page is submitted it will send all the values to the form fields on the second page.
5. Apply the insert record action to the form on the second page so when the user checks data and clicks on Submit on the form in the second page the info is sent to db.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
1. Form to collect all info
2. Set the method of your form to post and action to a second page
3. Build the same form on the second page and in each field, set the default value to Request.Form("your_field_names"
4. When the form on the first page is submitted it will send all the values to the form fields on the second page.
5. Apply the insert record action to the form on the second page so when the user checks data and clicks on Submit on the form in the second page the info is sent to db.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]