Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I eliminate the = sign 1

Status
Not open for further replies.

ZOR

Technical User
Jan 30, 2002
2,963
GB
From an inherited bit of code, how do I eliminate the = sign. Thanks

<input type="hidden" id="MessageBody" name="Monday"></input>
 
What do you mean "get rid of eliminate the = sign"? Those = sign lets the server know value an attribute has. Why would you want to eliminate them?

[sub]
____________________________________
Just Imagine.
[sub]
 
Its comming out on a mailto at the top of the email as Monday =

Its totally meaningless.
 
Many thanks for your help. Please find code below.



<form name="ProxyForm" enctype="text/plain" method="post" action ="mailto:test@test.net?subject=Testing Only" onsubmit="return chkForm();">
<p class="CenteredContent"><input type="submit" value="Send Order"></input>
&lt; <b>Click To Place Order by email. Check your sent emails for
copy.</b></p>
<input type="hidden" id="MessageBody" name="Monday "></input>
</form>
</body>
 
The reason you have "Monday=" is becuase you're passing a null value for that field. Even if it's a hidden field the field still gets passed. In this case "Monday" is the field name and since you have no value associated with the field it shows up as: Monday=

If you: <input type="hidden" id="MessageBody" name="Monday " value="Monday"></input> the result would be: Monday=Monday

Wht are you passing a hidden field in the form action? What exactly are you trying to accomplish?

[sub]
____________________________________
Just Imagine.
[sub]
 
Thanks. I am only using this code as it was within some code passed over by someone else. A hidden field is not required for my application, however as I know I can do a Monday = Monday bit, I can use it as a line in the email generated. So I will leave it in and use it for that. Have a star for getting rid of it as a plain xxx =
 
Don't know why, but the problems back. The result of the code below puts Monday= only, and leaves out the value.
If I take out the whole line, I have no message in the email body. Any ideas why it does not work.

<form name="ProxyForm" enctype="text/plain" method="post" action ="mailto:test@test.net?subject=Testing Only" onsubmit="return chkForm();">
<p class="CenteredContent"><input type="submit" value="Send Order"></input>
&lt; <b>Click To Place Order by email. Check your sent emails for
copy.</b></p>
<input type="hidden" id="MessageBody" name="Monday" value="Monday"></input>
</form>
</body>
</html>
 
Hi, I just did a test with your code as you posed above and I get "Monday=Monday". I sent the email to test@test.net with the subject line: Testing Only. Let me know if you get that email.

A couple of things for you to look into:
1) What browser did you test the code on? I tired it in IE6 and it works.

2) What email client did you test with? I did the test through my hotmail account and it worked.

[sub]
____________________________________
Just Imagine.
[sub]
 
Many thanks. Just did a test. If I open the page with Firefox, the words Monday=Monday appear but without the message in the email body. If I use IE, there is nothing after the = sign, but the message is in the body. Pain in the neck. Thanks
 
What about adding in the id:

<input type="hidden" id="MessageBody" name="Monday" id="Monday" value="Monday"></input>

Does that make a difference?
 
Do you have any other code on the page that might interfere with the form code?? I still don't see why you're using a <hidden> field. Do you want Monday=Monday to be in the email subject body?? If so, then why not do it this way:
Code:
<html>
	<body>
		<form name="ProxyForm" enctype="text/plain" method="post" action ="mailto:yourEmail@isp.com?subject=Testing Only&body=this is only a test" onsubmit="return chkForm();">
			<p class="CenteredContent">
				<input type="submit" value="Send Order"></input> 
				&lt; <b>Click To Place Order by email. Check your sent emails for copy.</b>
			</p>
		</form>
	</body>
</html>

[sub]
____________________________________
Just Imagine.
[sub]
 
Thanks Biffy, no it did not make a difference, the start of the email was Monday=

Thanks Ketan, I tried your code and it pointed to an error line which may be where a conflict happens?, don't know.

The error points to this code:
document.ProxyForm.MessageBody.value = "\n\n" + "Order Placing" + "\n\n"
+ "Start of Order" + "\n\n"
+ "Time received: " + CurrentDate + "\n\n"
+ (DBstr != "" ? "Fuji Digital Betacam\n" + DBstr + "\n\n" : "")
+ (SBstr != "" ? "Fuji Betacam SP\n" + SBstr + "\n\n" : "")
+ "End of Order, Thankyou";


Just wondering if the code below is unhappy with above as the messagebody gets a mention twice. Regarding a hidden field, as I said this code was given to me and I don't really need anything hidden, I'm just using it for an extra title in the email. It can go for all I care. Thanks both for all the help. Regards




</form>

<form name="ProxyForm" enctype="text/plain" method="post" action ="mailto:nobody@nobody.net?subject=Testing Only" onsubmit="return chkForm();">
<p class="CenteredContent"><input type="submit" value="Send Order"></input>
&lt; <b>Click To Place Order by email. Check your sent emails for
copy.</b></p>
<input type="hidden" id="MessageBody" name="MessageBody" value="fff" ></input>

</form>
</body>
</html>


 
Can you post your entire code or a link that we take a look at? Not sure why you would have this issue.

[sub]
____________________________________
Just Imagine.
[sub]
 
Many thanks, hope I don't get shot for posting long code.

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
<html xmlns=" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<title>Submission Form</title>



<script type="text/javascript">
function makeOptions(_number_of_options) {
var _result = ';
for (var loop=0; loop<_number_of_options; loop++)
_result += '\t<option value=' +loop*10 + '>' +loop*10 + '</option>\n';
return _result;
}
</script>


<script type="text/javascript">
function update_message_body()
// This function composes an e-mail message using the contents of
// another form on the same page.
{
var DB6 = document.SubmissionForm.DB6.value;
var DB12 = document.SubmissionForm.DB12.value;
var DB22 = document.SubmissionForm.DB22.value;
var DB32 = document.SubmissionForm.DB32.value;
var DB34 = document.SubmissionForm.DB34.value;
var DB40 = document.SubmissionForm.DB40.value;
var DB64 = document.SubmissionForm.DB64.value;
var DB94 = document.SubmissionForm.DB94.value;
var DB124 = document.SubmissionForm.DB124.value;

var SP05 = document.SubmissionForm.SP05.value;
var SP10 = document.SubmissionForm.SP10.value;
var SP20 = document.SubmissionForm.SP20.value;
var SP30 = document.SubmissionForm.SP30.value;
var SP60 = document.SubmissionForm.SP60.value;
var SP90 = document.SubmissionForm.SP90.value;

var HD6 = document.SubmissionForm.HD6.value;
var HD22 = document.SubmissionForm.HD22.value;
var HD40 = document.SubmissionForm.HD40.value;
var HD34 = document.SubmissionForm.HD34.value;
var HD94 = document.SubmissionForm.HD94.value;


var DVC12 = document.SubmissionForm.DVC12.value;
var DVC33 = document.SubmissionForm.DVC33.value;
var DVC46 = document.SubmissionForm.DVC46.value;
var DVC66 = document.SubmissionForm.DVC66.value;
var DVC126 = document.SubmissionForm.DVC126.value;


var CurrentDate = new Date();



var DBstr = ""
+ (DB6 > 0 ? "DBC-6 " + DB6 + " off" + "\n" : "")
+ (DB12 > 0 ? "DBC-12 " + DB12 + " off" + "\n" : "")
+ (DB22 > 0 ? "DBC-22 " + DB22 + " off" + "\n" : "")
+ (DB32 > 0 ? "DBC-32 " + DB32 + " off" + "\n" : "")
+ (DB34 > 0 ? "DBC-34L " + DB34 + " off" + "\n" : "")
+ (DB40 > 0 ? "DBC-40 " + DB40 + " off" + "\n" : "")
+ (DB64 > 0 ? "DBC-64L " + DB64 + " off" + "\n" : "")
+ (DB94 > 0 ? "DBC-94L " + DB94 + " off" + "\n" : "")
+ (DB124 > 0 ? "DBC-124L " + DB124 + " off" + "\n" : "");

var SBstr = ""
+ (SP05 > 0 ? "SP05 " + SP05 + " off" + "\n" : "")
+ (SP10 > 0 ? "SP10 " + SP10 + " off" + "\n" : "")
+ (SP20 > 0 ? "SP20 " + SP20 + " off" + "\n" : "")
+ (SP30 > 0 ? "SP30 " + SP30 + " off" + "\n" : "")
+ (SP60 > 0 ? "SP60 " + SP60 + " off" + "\n" : "")
+ (SP90 > 0 ? "SP90 " + SP90 + " off" + "\n" : "");


document.ProxyForm.MessageBody.value = "\n\n" + "Order Placing" + "\n\n"
+ "Start of Order" + "\n\n"
+ "Time received: " + CurrentDate + "\n\n"
+ (DBstr != "" ? "Fuji Digital Betacam\n" + DBstr + "\n\n" : "")
+ (SBstr != "" ? "Fuji Betacam SP\n" + SBstr + "\n\n" : "")
+ "End of Order, Thankyou";



return true;
}


function chkForm() {

var DB6 = document.getElementById('DB6').value;
var DB12 = document.getElementById('DB12').value
var DB22 = document.getElementById('DB22').value
var DB32 = document.getElementById('DB32').value
var DB34 = document.getElementById('DB34').value
var DB40 = document.getElementById('DB40').value
var DB64 = document.getElementById('DB64').value
var DB94 = document.getElementById('DB94').value
var DB124 = document.getElementById('DB124').value

var SP05 = document.getElementById('SP05').value;
var SP10 = document.getElementById('SP10').value
var SP20 = document.getElementById('SP20').value
var SP30 = document.getElementById('SP30').value
var SP60 = document.getElementById('SP60').value
var SP90 = document.getElementById('SP90').value

var HD6 = document.getElementById('HD6').value;
var HD22 = document.getElementById('HD22').value;
var HD40 = document.getElementById('HD40').value;
var HD34 = document.getElementById('HD34').value;
var HD94 = document.getElementById('HD94').value;

var DVC12 = document.getElementById('DVC12').value;
var DVC33 = document.getElementById('DVC33').value;
var DVC46 = document.getElementById('DVC46').value;
var DVC66 = document.getElementById('DVC66').value;
var DVC126 = document.getElementById('DVC126').value;


if(DB6=='0' && DB12=='0' && DB22=='0' && DB32=='0' && DB34=='0' && DB40=='0' && DB64=='0' && DB94=='0'
&& DB124=='0' && SP05=='0' && SP10=='0' && SP20=='0' && SP30=='0' && SP60=='0' && SP90=='0'
&& HD6=='0' && HD22=='0' && HD34=='0' && HD40=='0' && HD94=='0' && DVC12=='0'
&& DVC33=='0' && DVC46=='0' && DVC66=='0' && DVC126=='0') {


alert('You have not selected any items?');
return false;
} else {
update_message_body();
}
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs.src=a; }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
</script>
<base target="_self">




</head>

<form name="SubmissionForm" action="mailto:nobody@nobody.net" enctype="multipart/form-data" onSubmit="return chkForm();">

<body style="background-attachment: fixed" bgcolor="#E7EFF7" topmargin="1" onload="FP_preloadImgs(/*url*/'images/button6.gif', /*url*/'images/button7.gif', /*url*/'images/button9.gif', /*url*/'images/buttonA.gif', /*url*/'images/buttonC.gif', /*url*/'images/buttonD.gif', /*url*/'images/buttonF.gif', /*url*/'images/button10.gif')">


<table class="Fatscope" width="77%" border="1">



<tr>
<td class="DescriptorCell" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="4"><a name="Fuji_D321_Digital_Betacam">Fuji
D321 Digital Betacam</a></font></b></td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#008080" height="23" colspan="4">&nbsp;</td>
</tr>




<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF" height="26">DBC-6</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" height="26" width="34%">6mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF" height="26">
<select name="DB6">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>

<td class="ContentCell" width="34%" bgcolor="#FFFFFF" rowspan="9" align="center">
<img border="0" src="images/product-d321.jpg" width="187" height="126"></td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-12</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">12mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB12">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>


<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-22</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">22mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB22">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-32</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">32mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB32">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>


<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-34L</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">34mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB34">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-40</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">40mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB40">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-64L</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">64mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB64">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>


<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-94L</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">94mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB94">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>


<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DBC-124L</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">124mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DB124">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">
<p align="center"><a href="#Temp_Order_Position">
<img border="0" id="img1" src="images/buttonE.gif" height="32" width="160" alt="Place Order Now" fp-style="fp-btn: Glass Capsule 1; fp-font: Arial; fp-font-size: 12; fp-transparent: 1" fp-title="Place Order Now" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/buttonF.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/buttonE.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button10.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/buttonF.gif')"></a></td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="4"><a name="Fuji_M321_Betacam_SP">Fuji M321
Betacam SP</a></font></b></td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#008080" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">SP05</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">5mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="SP05">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF" rowspan="6" align="center">
<img border="0" src="images/product-m321.jpg" width="187" height="131"></td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">SP10</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">10mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="SP10">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">SP20</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">20mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="SP20">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">SP30</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">30mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="SP30">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">SP60</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">60mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="SP60">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>

</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">SP90</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">90mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="SP90">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">
<p align="center"><a href="#Temp_Order_Position">
<img border="0" id="img6" src="images/buttonB.gif" height="32" width="160" alt="Place Order Now" onmouseover="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/buttonC.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/buttonB.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/buttonD.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/buttonC.gif')" fp-style="fp-btn: Glass Capsule 1; fp-font: Arial; fp-font-size: 12; fp-transparent: 1" fp-title="Place Order Now"></a></td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="4"><a name="Fuji_HD331_HDCAM">Fuji HD331 HDCAM</a></font></b></td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#008080" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">HD6</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">6mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="HD6">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF" rowspan="5" align="center">
<img border="0" src="images/product-hd331.jpg" width="187" height="129"></td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">HD22</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">22mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="HD22">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>

<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">HD40</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">40mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="HD40">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">HD34</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">34mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="HD34">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">HD94</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">94mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="HD94">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">
<p align="center"><a href="#Temp_Order_Position">
<img border="0" id="img5" src="images/button8.gif" height="32" width="160" alt="Place Order Now" onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button9.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button8.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/buttonA.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button9.gif')" fp-style="fp-btn: Glass Capsule 1; fp-font: Arial; fp-font-size: 12; fp-transparent: 1" fp-title="Place Order Now"></a></td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="4"><a name="Fuji_DP121_DVC_Pro">Fuji DP121 DVC
Pro</a></font></b></td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#008080" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DVC12</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">12mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DVC12">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</td>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF" rowspan="5">
<img border="0" src="images/product-dp121.jpg" width="187" height="124"></td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DVC33</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">33mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DVC33">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DVC46</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">46mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DVC46">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DVC66</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">66mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DVC66">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF">DVC126</td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%">126mins</td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<select name="DVC126">
<script type="text/javascript">document.write(makeOptions(101));</script>
</select>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">
<p align="center"><a href="#Temp_Order_Position">
<img border="0" id="img4" src="images/button5.gif" height="32" width="160" alt="Place Order Now" fp-style="fp-btn: Glass Capsule 1; fp-font: Arial; fp-font-size: 12; fp-transparent: 1" fp-title="Place Order Now" onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button6.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button5.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button7.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button6.gif')"></a></td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="96%" bgcolor="#E7EFF7" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#E7EFF7" colspan="4"><b>
<font face="Arial" size="4"><a name="Temp_Order_Position">Temp Order
Position</a></font></b></td>
</tr>



<tr>
<td class="DescriptorCell" bgcolor="#008080" colspan="4">&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#FFFFFF"><b>
<font face="Arial" size="4">Product</font></b></td>
<td class="DescriptorCell" bgcolor="#FFFFFF" width="34%"><b>
<font face="Arial" size="4">Duration</font></b></td>
<td class="ContentCell" width="9%" bgcolor="#FFFFFF">
<b><font face="Arial" size="4">Qty</font></b></td>
<td class="ContentCell" width="34%" bgcolor="#FFFFFF">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



<tr>
<td class="DescriptorCell" width="19%" bgcolor="#E7EFF7">&nbsp;</td>
<td class="DescriptorCell" bgcolor="#E7EFF7" width="34%">&nbsp;</td>
<td class="ContentCell" width="9%" bgcolor="#E7EFF7">
&nbsp;</td>
<td class="ContentCell" width="34%" bgcolor="#E7EFF7">
&nbsp;</td>
</tr>



</table>


<p class="CenteredContent"><input type="reset" value="Clear All Entries"></input></p>
</form>

<form name="ProxyForm" enctype="text/plain" method="post" action ="mailto:nobody@nobody.net?subject=Testing Only" onsubmit="return chkForm();">
<p class="CenteredContent"><input type="submit" value="Send Order"></input>
&lt; <b>Click To Place Order by email. Check your sent emails for
copy.</b></p>
<input type="hidden" id="MessageBody" name="MessageBody" value="fff" ></input>

</form>
</body>
</html>
 
I just copied/pasted your code and ran it, and I don't get any JS error messages. For me, when I clicked on the button my email client popped open (which is Hotmail) and in the email body I get:
Code:
MessageBody= Order Placing Start of Order Time received: Sat Aug 13 22:33:26 EDT 2005 Fuji Digital Betacam DBC-34L 220 off Fuji Betacam SP SP30 20 off End of Order, Thankyou

I tested on a WinXP Pro machine using IE6.

But why do you have 2 <form> tags? One <form> tags is the products and the other <form> tag is for the 'Send Orders' button.


[sub]
____________________________________
Just Imagine.
[sub]
 
Many thanks.


Your email layout comes out differently to mine, the MessageBody= is not followed directly by "Order Placing Start of " etc. Is there any way to get rid of Messagebody= appearing at all. Many thanks for your help, Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top