Hello,
We have an online form on our website which has a javascript component to it. This javascript component creates a summary based upon what the user fills in on an online form and then e-mails it to a user at our organization. However, when either an MSN or Hotmail user tries to complete this form, the only thing that gets e-mailed to us is his/her e-mail address; none of the information that they filled in on the form is being sent to us. I will include some of the webpage's HTML code: [Please note that user@user.com is obviously a fake e-mail; there is a real e-mail address on the website in the HTML code.]
<%@ language = JScript%>
<html>
<title>Boxing Ticketing Information</title>
<script>
function show_summary() {
var msg = "";
var vip_ticket_total = 0;
var vip_table_ticket_total = 0;
var ringside_ticket_total = 0;
var general_ticket_total = 0;
var overall_total = 0;
if (document.FrontPage_Form1.
VIP_Ticket
s.checked)
{
msg += "VIP tickets required: " + document.FrontPage_Form1.V
IP_Seating
_Quantity.
value;
msg += "\nFirst preference: Row "+ document.FrontPage_Form1.v
ip_first_c
hoice.valu
e;
msg += "\nSecond preference: Row "+ document.FrontPage_Form1.v
ip_second_
choice.val
ue + "\n";
vip_ticket_total = eval(document.FrontPage_Fo
rm1.VIP_Se
ating_Quan
tity.value
)*30;
}
if (document.FrontPage_Form1.
VIP_Table_
Tickets.ch
ecked)
{
msg += "VIP Tables required:" + document.FrontPage_Form1.V
IP_Table_Q
uantity.va
lue;
msg += "\nFirst preference: Row "+ document.FrontPage_Form1.v
ip_table_f
irst_choic
e.value;
msg += "\nSecond preference: Row "+ document.FrontPage_Form1.v
ip_table_s
econd_choi
ce.value + "\n";
vip_table_ticket_total = eval(document.FrontPage_Fo
rm1.VIP_Ta
ble_Quanti
ty.value)*
165;
}
if (document.FrontPage_Form1.
Ringside_T
ickets.che
cked)
{
msg += "Ringside tickets required: " + document.FrontPage_Form1.R
ingside_Qu
antity.val
ue;
msg += "\nFirst preference: Row "+ document.FrontPage_Form1.r
ingside_fi
rst_choice
.value;
msg += "\nSecond preference: Row "+ document.FrontPage_Form1.r
ingside_se
cond_choic
e.value + "\n";
ringside_ticket_total = eval(document.FrontPage_Fo
rm1.Ringsi
de_Quantit
y.value)*2
0;
}
if (document.FrontPage_Form1.
General_Ad
mission_Ti
ckets.chec
ked)
{
msg += "General Admission tickets required: " + document.FrontPage_Form1.G
eneral_Adm
ission_Qua
ntity.valu
e;
msg += "\nFirst preference: Row "+ document.FrontPage_Form1.g
eneral_fir
st_choice.
value;
msg += "\nSecond preference: Row "+ document.FrontPage_Form1.g
eneral_sec
ond_choice
.value + "\n";
general_ticket_total = eval(document.FrontPage_Fo
rm1.Genera
l_Admissio
n_Quantity
.value)*15
;
}
msg += "Contact Information:\n " + document.FrontPage_Form1.n
ame.value +"\n "+ document.FrontPage_Form1.a
ddr1.value
+"\n "+ document.FrontPage_Form1.a
ddr2.value
;
msg += "\nHome Phone: " + document.FrontPage_Form1.h
omephone.v
alue +"\nCell Phone: "+ document.FrontPage_Form1.c
ellphone.v
alue +"\nE-Mail: "+ document.FrontPage_Form1.e
mail.value
;
msg += "\nComments: " + document.FrontPage_Form1.c
omments.va
lue;
document.FrontPage_Form1.T
otal_Cost.
value = vip_ticket_total + vip_table_ticket_total + ringside_ticket_total + general_ticket_total;
msg +="\nTicket Total: $" + document.FrontPage_Form1.T
otal_Cost.
value;
document.FrontPage_Form1.s
ummary.val
ue = msg;
}
</script>
<form name="FrontPage_Form1" action="mailto:user@user.c
om" method=post enctype="text/plain" onsubmit="return FrontPage_Form1_Validator(
this)" language="JavaScript">
<INPUT TYPE="hidden" NAME="subject" VALUE="Boxing Invitational Ticketing Request">
[Here is the actual form.]
/form
/body
/html
Any idea why this is doing this and/or how to correct it? Does it have something to do with the part that says:
enctype="text/plain"
It works fine for several other ISP's as we've tested it out quite a bit.
Thank you,
theposse