If you are using Netscape 3.0 and you have received a JavaScript error click here

  

Your Name:

Name on Credit Card:

Credit Card Type (Visa, Master Card accepted):

Credit Card Number:

Address:

City:

State:

ZIP:

Your Email Address:

What needs to be changed on this page?

You can completely change the look of the output of Go-Cart very easily. By editing these lines in the script you can change the entire look of Go-Cart to match your site.

	var firstcolor='green'
	var secondcolor='darkgreen'
	var tablecolor='lightgreen'

	var text1color='green'
	var face1="TimesNewRoman"
	var size1="4"

	var text2color='DDDDDD'
	var face2="Arial"
	var size2="4"

Of course, you don't need to even change these variables if you don't want to. The only thing that needs to be changed on this page is the action of the form. You should change the action to the send mail program on your server. As for the particular variables that your send mail program requires, those are up to you to set up. For instance, the field name FormailTo is the value that some send-mail programs look for when they are looking for who the mail should be sent to. But this value might be something different for your program.

If you do receive an email from Go-Cart

the chances are almost 99% that your cgi script is expecting a different name for FormailTo. Try changing "FormailTo" to "recipient" many .cgi scripts including Matt Wright's use this field name instead of FormailTo. Consult your Sys Admin if you aren't sure about your Cgi send mail program. The two lines that need to be changed are:
<FORM TYPE="post" name="theform2" ACTION="http://www.YOURHOST.com/cgi-bin/Formail.cgi"> <INPUT TYPE=hidden NAME="FormailTo" VALUE="YOU@YOU.COM">

If you want to add fields to the form, simply insert them after the other fields within <theform2> If you view the source you will note that there are forms, one is called "theform" and the second is called "theform2." You may only add form fields to "theform2."

This JavaScript should make the email sent to you very readable because it uses forced line breaks. But if, (for some UNKNOWN reason) your sendmail program doesn't interpret these (although I've never heard of such a thing) you may consider trying a new send mail PERL script.

Finally, the "Continue shopping" just goes back to the last page in the history, you may want to use the other line. Just uncomment out:
<input type="reset" value="Continue Shopping" onClick="location.href='somepage.htm'">

If you would like to download the script Click here. If you do download the script and use it, please send $50 US dollars to:

Tim Clark
834 W. 11th Street
Front Royal, VA 22630

Go-Cart (C)1998 by Tim Clark