At least I think this is what is happening.
URL this is my checkout page.
Admittedly not as orderly as it probably could be.
This problem only happens with a small number of customers.
The form submits but the only data manipulation that comes through is that performed in the <body>, inside the <form> tags.
the many functions defined in the head do not appear to be doing anything. I beleive it is the global variable: Kform = document.forms[0] that is not being recognized.
here is some of the code:
<form name="ORDER1" action=
" method="post" target=
"_blank" id="ORDER1"><input type="HIDDEN" name="server" value=
"form.e-mark.net" /><input type="HIDDEN" name="sendto" value=
"info@kabusa.com" /> <input type="HIDDEN" name="resulturl" value=
" /> <input name="subject"
type="HIDDEN" value="Confirmation From KAB Electro Acoustics" />
<script language="JAVASCRIPT" type="text/javascript">
//<![CDATA[
<!-- Hide Script
var Kform = document.forms[0];
var rsturl = "Kform.resulturl.value = rsturl;
*** this substitution within the <form> tags works OK
When the form is submitted, the resulturl is changed again to include the customers email address. This function is in the <head>:
function verify(quotecon)
{
//---------------------
rsturl = "Kform.resulturl.value = rsturl;
}
***trx is defined in the head as a tracking number.
this line of code does not change the result URL.
Are there any bugs in some current platforms that would prevent a global variable defined in the body from finding it's way in to functions?
Any help appreciated.
Kevin
URL this is my checkout page.
Admittedly not as orderly as it probably could be.
This problem only happens with a small number of customers.
The form submits but the only data manipulation that comes through is that performed in the <body>, inside the <form> tags.
the many functions defined in the head do not appear to be doing anything. I beleive it is the global variable: Kform = document.forms[0] that is not being recognized.
here is some of the code:
<form name="ORDER1" action=
" method="post" target=
"_blank" id="ORDER1"><input type="HIDDEN" name="server" value=
"form.e-mark.net" /><input type="HIDDEN" name="sendto" value=
"info@kabusa.com" /> <input type="HIDDEN" name="resulturl" value=
" /> <input name="subject"
type="HIDDEN" value="Confirmation From KAB Electro Acoustics" />
<script language="JAVASCRIPT" type="text/javascript">
//<![CDATA[
<!-- Hide Script
var Kform = document.forms[0];
var rsturl = "Kform.resulturl.value = rsturl;
*** this substitution within the <form> tags works OK
When the form is submitted, the resulturl is changed again to include the customers email address. This function is in the <head>:
function verify(quotecon)
{
//---------------------
rsturl = "Kform.resulturl.value = rsturl;
}
***trx is defined in the head as a tracking number.
this line of code does not change the result URL.
Are there any bugs in some current platforms that would prevent a global variable defined in the body from finding it's way in to functions?
Any help appreciated.
Kevin