ravynfaire
10-10-2003, 12:24 PM
Hello. I am having problems with a script. I have created this form where the person fills in their name and bid amount and when they click the submit button it is supposed to email the information. But I must have done something wrong because it is not working.
Here is the script.
<!DOCTYPE html public "-//w3c//dtd html 4.0//en">
<html>
<head>
<title>Introduction</title>
<meta name="generator" content="Namo WebEditor v4.0">
<style>
<!--
h1 { font-family:Arial; font-size:12pt; color:rgb(0,128,128); }
h2 { font-family:Arial; font-size:12pt; color:rgb(255,128,128); }
p { color:rgb(0,0,0); font-family:Arial; }
p.namo-list { font-family:Arial; font-size:12pt; color:rgb(0,128,192); }
p.namo-sublist { font-family:Arial; font-size:10pt; color:rgb(221,116,0); }
-->
</style>
<link rel="stylesheet" href="css/default.css">
<meta name="namo-theme" content="Green Jelly">
<script language="JavaScript">
<!--
// -->
</script>
<script language="JavaScript">
<!--
function na_call(str)
{
eval(str);
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
// -->
</script>
</head>
<body background="images/nth_green_jelly_bg.gif" bgcolor="white" text="#000000" link="#0080FF" vlink="gray" alink="#FF8000">
<table width="847" cellpadding="0" cellspacing="0">
<tr>
<td width="125">
<p> </p>
</td>
<td align="center" width="611">
<p><img src="images/nav_green_jelly_item 1_bhb.gif" width="416" height="54" border="0"></p>
</td>
<td align="center" width="98">
<p><img src="images/closed_sm.gif" width="80" height="64" border="0"></p>
</td>
</tr>
<tr>
<td width="125" valign="top">
<p style="margin-top:0; margin-bottom:0;"> </p>
<!--NAMO_NAVBAR_START T V h-->
<div>
<a href="index.html" onmouseover="na_change_img_src('nav_intro_TV0', 'document', 'nav/nav_green_jelly_index_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV0', 'document')">
<img src="nav/nav_green_jelly_index_tv.gif" name="nav_intro_TV0" border="0" class="namo-button2" alt="Home"></a><br>
<img src="nav/nav_green_jelly_intro_tvh.gif" name="nav_intro_TV1" border="0" class="namo-hibutton2" alt="Item 1"><br>
<a href="news.html" onmouseover="na_change_img_src('nav_intro_TV2', 'document', 'nav/nav_green_jelly_news_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV2', 'document')">
<img src="nav/nav_green_jelly_news_tv.gif" name="nav_intro_TV2" border="0" class="namo-button2" alt="Item 2"></a><br>
<a href="member.html" onmouseover="na_change_img_src('nav_intro_TV3', 'document', 'nav/nav_green_jelly_member_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV3', 'document')">
<img src="nav/nav_green_jelly_member_tv.gif" name="nav_intro_TV3" border="0" class="namo-button2" alt="Item 3"></a><br>
<a href="publish.html" onmouseover="na_change_img_src('nav_intro_TV4', 'document', 'nav/nav_green_jelly_publish_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV4', 'document')">
<img src="nav/nav_green_jelly_publish_tv.gif" name="nav_intro_TV4" border="0" class="namo-button2" alt="Item 4"></a><br>
<a href="info.html" onmouseover="na_change_img_src('nav_intro_TV5', 'document', 'nav/nav_green_jelly_info_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV5', 'document')">
<img src="nav/nav_green_jelly_info_tv.gif" name="nav_intro_TV5" border="0" class="namo-button2" alt="Item 5"></a><br>
<a href="link.html" onmouseover="na_change_img_src('nav_intro_TV6', 'document', 'nav/nav_green_jelly_link_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV6', 'document')">
<img src="nav/nav_green_jelly_link_tv.gif" name="nav_intro_TV6" border="0" class="namo-button2" alt="Item 6"></a><br>
<a href="mailto:santiagomm@bv.com?Subject=Questions/Comments" onmouseover="na_change_img_src('nav_intro_TV7', 'document', 'nav/nav_green_jelly_1065481059_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV7', 'document')">
<img src="nav/nav_green_jelly_1065481059_tv.gif" name="nav_intro_TV7" border="0" class="namo-button2" alt="Email us"></a>
</div>
<!--NAMO_NAVBAR_END--></td>
<td valign="top" align="center" width="611">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
<p align="center" style="margin-top:0; margin-bottom:0;"><img src="images/line2_4.gif" width="457" height="5" border="0" alt="line2_4.gif"></p>
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
<p style="margin-top:0; margin-bottom:0;"><font size="2"> </font></p>
<p align="center" style="margin-top:0; margin-bottom:0;">The value of the _________
are ________.
</p>
<p align="center" style="margin-top:0; margin-bottom:0;">Bidding will start at ______
with $1.00 increments.</p>
<p align="center" style="margin-top:0; margin-bottom:0;">Bidding will start now until tomorrow at 8 am.</p>
<form name="form1">
<p style="margin-top:0; margin-bottom:0;" align="center">Fill in your name
<input type="text" name="formname"></p>
<p style="margin-top:0; margin-bottom:0;" align="center">Fill in your bid $
<input type="text" name="formbid"></p>
<p style="margin-top:0; margin-bottom:0;" align="center"> <a href="mailto:SantiagoMM@bv.com?Subject=Bid Submission"><input type="submit" name="SubmitBid" value="Submit Bid" OnClick="na_call('');"></a></p>
</form>
<table border="1" width="455" align="center" style="margin-top:0; margin-bottom:0;">
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;">Bidder's Name</p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;">Bid Amount</p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
</table>
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
<hr size="1" width="550" style="margin-top:0; margin-bottom:0;">
<p align="center" style="margin-top:0; margin-bottom:0;"><font size="1">Copyright (c) 2003 Black & Veatch. All rights reserved.<br> <a href="mailto:SantiagoMM@bv.com">SantiagoMM@bv.com</a></font></p>
</td>
<td valign="top" align="center" width="98">
<p style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
</table>
<p>
</body>
</html>
What am I doing wrong? Thanks for any help.
Here is the script.
<!DOCTYPE html public "-//w3c//dtd html 4.0//en">
<html>
<head>
<title>Introduction</title>
<meta name="generator" content="Namo WebEditor v4.0">
<style>
<!--
h1 { font-family:Arial; font-size:12pt; color:rgb(0,128,128); }
h2 { font-family:Arial; font-size:12pt; color:rgb(255,128,128); }
p { color:rgb(0,0,0); font-family:Arial; }
p.namo-list { font-family:Arial; font-size:12pt; color:rgb(0,128,192); }
p.namo-sublist { font-family:Arial; font-size:10pt; color:rgb(221,116,0); }
-->
</style>
<link rel="stylesheet" href="css/default.css">
<meta name="namo-theme" content="Green Jelly">
<script language="JavaScript">
<!--
// -->
</script>
<script language="JavaScript">
<!--
function na_call(str)
{
eval(str);
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
// -->
</script>
</head>
<body background="images/nth_green_jelly_bg.gif" bgcolor="white" text="#000000" link="#0080FF" vlink="gray" alink="#FF8000">
<table width="847" cellpadding="0" cellspacing="0">
<tr>
<td width="125">
<p> </p>
</td>
<td align="center" width="611">
<p><img src="images/nav_green_jelly_item 1_bhb.gif" width="416" height="54" border="0"></p>
</td>
<td align="center" width="98">
<p><img src="images/closed_sm.gif" width="80" height="64" border="0"></p>
</td>
</tr>
<tr>
<td width="125" valign="top">
<p style="margin-top:0; margin-bottom:0;"> </p>
<!--NAMO_NAVBAR_START T V h-->
<div>
<a href="index.html" onmouseover="na_change_img_src('nav_intro_TV0', 'document', 'nav/nav_green_jelly_index_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV0', 'document')">
<img src="nav/nav_green_jelly_index_tv.gif" name="nav_intro_TV0" border="0" class="namo-button2" alt="Home"></a><br>
<img src="nav/nav_green_jelly_intro_tvh.gif" name="nav_intro_TV1" border="0" class="namo-hibutton2" alt="Item 1"><br>
<a href="news.html" onmouseover="na_change_img_src('nav_intro_TV2', 'document', 'nav/nav_green_jelly_news_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV2', 'document')">
<img src="nav/nav_green_jelly_news_tv.gif" name="nav_intro_TV2" border="0" class="namo-button2" alt="Item 2"></a><br>
<a href="member.html" onmouseover="na_change_img_src('nav_intro_TV3', 'document', 'nav/nav_green_jelly_member_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV3', 'document')">
<img src="nav/nav_green_jelly_member_tv.gif" name="nav_intro_TV3" border="0" class="namo-button2" alt="Item 3"></a><br>
<a href="publish.html" onmouseover="na_change_img_src('nav_intro_TV4', 'document', 'nav/nav_green_jelly_publish_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV4', 'document')">
<img src="nav/nav_green_jelly_publish_tv.gif" name="nav_intro_TV4" border="0" class="namo-button2" alt="Item 4"></a><br>
<a href="info.html" onmouseover="na_change_img_src('nav_intro_TV5', 'document', 'nav/nav_green_jelly_info_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV5', 'document')">
<img src="nav/nav_green_jelly_info_tv.gif" name="nav_intro_TV5" border="0" class="namo-button2" alt="Item 5"></a><br>
<a href="link.html" onmouseover="na_change_img_src('nav_intro_TV6', 'document', 'nav/nav_green_jelly_link_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV6', 'document')">
<img src="nav/nav_green_jelly_link_tv.gif" name="nav_intro_TV6" border="0" class="namo-button2" alt="Item 6"></a><br>
<a href="mailto:santiagomm@bv.com?Subject=Questions/Comments" onmouseover="na_change_img_src('nav_intro_TV7', 'document', 'nav/nav_green_jelly_1065481059_tvr.gif', true)"
onmouseout="na_restore_img_src('nav_intro_TV7', 'document')">
<img src="nav/nav_green_jelly_1065481059_tv.gif" name="nav_intro_TV7" border="0" class="namo-button2" alt="Email us"></a>
</div>
<!--NAMO_NAVBAR_END--></td>
<td valign="top" align="center" width="611">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
<p align="center" style="margin-top:0; margin-bottom:0;"><img src="images/line2_4.gif" width="457" height="5" border="0" alt="line2_4.gif"></p>
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
<p style="margin-top:0; margin-bottom:0;"><font size="2"> </font></p>
<p align="center" style="margin-top:0; margin-bottom:0;">The value of the _________
are ________.
</p>
<p align="center" style="margin-top:0; margin-bottom:0;">Bidding will start at ______
with $1.00 increments.</p>
<p align="center" style="margin-top:0; margin-bottom:0;">Bidding will start now until tomorrow at 8 am.</p>
<form name="form1">
<p style="margin-top:0; margin-bottom:0;" align="center">Fill in your name
<input type="text" name="formname"></p>
<p style="margin-top:0; margin-bottom:0;" align="center">Fill in your bid $
<input type="text" name="formbid"></p>
<p style="margin-top:0; margin-bottom:0;" align="center"> <a href="mailto:SantiagoMM@bv.com?Subject=Bid Submission"><input type="submit" name="SubmitBid" value="Submit Bid" OnClick="na_call('');"></a></p>
</form>
<table border="1" width="455" align="center" style="margin-top:0; margin-bottom:0;">
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;">Bidder's Name</p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;">Bid Amount</p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="219">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
<td width="220">
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
</table>
<p align="center" style="margin-top:0; margin-bottom:0;"> </p>
<hr size="1" width="550" style="margin-top:0; margin-bottom:0;">
<p align="center" style="margin-top:0; margin-bottom:0;"><font size="1">Copyright (c) 2003 Black & Veatch. All rights reserved.<br> <a href="mailto:SantiagoMM@bv.com">SantiagoMM@bv.com</a></font></p>
</td>
<td valign="top" align="center" width="98">
<p style="margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
</table>
<p>
</body>
</html>
What am I doing wrong? Thanks for any help.