I went through the forums and found an older (1997) version of what I am trying to do. The thing is the form appears twice, once while being filled out then again on submit. When you close the window, the site I would like to appear is on top of the page that was submitted.

Here is what I would like to find to be effective onsubmit:
1. Validatation of form
2. Email is sent (can not use PHP for numerous reasons)
3. Different page opens. No signs of the form page to be seen.

All your help would be appreciated.

Here is what I have that is mentioned above:
<!-- Original: Enigman (enigman@ozemail.com.au) -->

<!-- Web Site: http://members.ozemail.com.au/~enigm...s_samples.html -->

<SCRIPT LANGUAGE="javascript">

<!-- Hide script from other browsers

// Created by: Grant Schmarr

// Created on: 18th September 1997

// Last Modified: 19th September 1997

// Get referring page

var currLoc = document.referrer
function parseForm() {

// Code to parse data is inserted here

// You can have Javascript

// The following code opens a page in a new window

// First we create a variable that contains the URL for the

// page we wish to go to and then use the window.open method

// to open a new window with the acknowledgement document.

// Change js_formack.html to the name of your acknowledgement page

var valform = "index.html "

myWindow = window.open(valform)


// This function takes the client back to the referring page

function getBack() {





<form action="mailto:lori@theclientswebsitecompany.com" method="post" enctype="text/plain" name="information" target="_self" onSubmit="parseForm()"/>

<strong>First Name</strong><input name="FirstName" type="text" size="40"/><br/><br/>
<strong>Last Name</strong><input name="Last Name" type="text" size="40"/><br/><br/>

<strong>Email Address</strong><input name="email" type="text" size="60"/><br/><br/>
<strong>Comments: </strong><br />
<textarea name="comments" cols="55" rows="15"/></textarea><br/>
<input name="Submit" type="submit" value="Submit"/>
<input name="Clear Form" type="reset" value="Clear Form" />