Click to See Complete Forum and Search --> : help with forms
I need to find out how to take input from the user in a form then post it to another page that just prints it out and offers two buttons. One is confirm and the other is edit. I can get the information passed to the display page but then I can't get it back to the edit page. I've tried using asp and the type=hidden to make this work but haven't got it going yet. Does anyone know of a tutorial out there or have some sample code I could look at?? This message board does a preview so obvisously it can be done. I've looked around for a tutorial or something but none of them go this in depth into forms. Thanks for any help you can provide.
So you want someone to confirm a selection or something?
You don't have to pass it on to another page to do that.
You can use Javascript to confirm it:
<script language="javascript">
msg = "Do you wish to continue?";
</script>
then in your form, put:
onClick="return(window.confirm(msg))";
I'm not sure if this will help because I'm not quite sure what you are looking for.
I guess I choose the wrong word I want the user to preview what they entered and then be able to go back and change if they entered something wrong or confirm and move on to the page were I enter the data into my database. Thanks.
Paul Jr
10-04-2003, 12:15 AM
I think this is what he means...
(You'll have to actually fill out the form to see it)
Example (http://www.gamespot.com/gamespot/misc/basic/signup.html)