How to pass values from one asp page to another on a button click
Posted on 2007-10-06
I have a Classic asp page (page1) with about twenty fields, I have two buttons, Submit and Preview.
On submit the form is validated for the fields filled in and submitted to the database.
On clicking the Preview button, I woud like to redirect the user to another page where the user can display the twenty fields that he filled in.
How do I redirect an user to another page and access the data that was entered in Page1
I tried the following , but i does not work
<input type="button" name="preview_form" value="Preview" class="regbutton1" OnClick= "CallRedirect()">
and then I have a Jscript function