Toias,
It is possible to use an .html file insteal of .asp (or indeed many file types). I used .asp in my example because it's a common choice for web development.
So let's assume you choose to have the data sent to a .html called
nextpage.html:
Code:
<form name="myForm" method="post" action="nextpage.html" target="_blank">
This page will need to grab the different form fields that were submitted to the page (using Javascript) and then set these values into hidden fields (again using Javascript - but waiting for the page to finish loading before attempting to access the form elements) and/or display the values on the page as if they were text (again you would use Javascript - you could use document.write(), or you could set innerHTML/innerText if the target browsers supported it).
The next thing the user types is an email address in the text field and clicks the submit button (I guess to send this data to an email address).
Many questions arise. What mechanism are you going to use to actually perform the sending of this email? You can't just "click the button and have it sent" without incorporating some kind of server-side solution.
You could use ASP and CDONTS (a module for IIS), JSP and JavaMail, Formmail... the list is long... but there is no plain HTML option.
It is true that you can click a hyperlink and "send an email" on many webpages around the internet... but these hyperlinks merely send some (small amount of) data to the user's email program... the user still has to then switch to the program and (at the very least) click the send button. You can certainly set the To address and the Subject field of such emails... but I doubt this is the solution you are looking for.
If you decide to use html to code the second page, then I suggest you investigate if your hosting ISP offers a "mail cgi or formmail" option. If so, you can submit the contents of the "preview" html to the cgi or formmail script (with the only learning curve being learning how to use the supplied cgi etc. If they offer no such mechanism, then I suggest you move ISPs.
Is this how other people on the forum would deal with this problem? I'm curious to hear other "real world" solutions.
Jeff