Mailto: Script Verification

Please enter your name:



Original Script by Joe Burns
Needed alterations by: Bill White

     Use the script below with your simple mailto: guestbooks. It will send you the information, give the person an alert box that the mail is being sent, then send them to another page thanking them. It'll work very close to a CGI-driven guestbook. I called my thanks page "verify4.html." Just make sure to change out the script below with the new name you choose. Here's the full script:


<FORM method="POST" action="mailto:jburns@htmlgoodies.com" onSubmit="alert('Mail is being sent');">

Please enter your name: <input NAME="username" size="30">

<input type=submit onBlur="doVerify()" value="Send it!">
<input type=reset value="Start over">

<SCRIPT LANGUAGE="javascript"
function doVerify()
{
location.href = "verify4.html"
}
</script>


Back to the Button, Links, and E-Mail Scripts