|
As a newbie in web development, and to javascripts, I tried to “copy and paste” free simple form scripts from the internet to my contact page. The lay-out seems ok but when I tried the submit button, below info pops-up -
“This form is being submitted using e-mail. Submitting this form will reveal your e-mail address to the recipient, and will send the form data without encrypting it for privacy.
You may continue or cancel this submission.....”
“A program is trying to send a message using MAPI without first letting you see the contents of the message. This is a technique that some virus writers have employed in order to spread the virus. Would you like to see the message before it is sent out?”
I am then directed to Eudora’s new message with subject: form posted from Microsoft Internet Explorer and with attachment: ..\\attach\POSTDATA1.ATT;
Don't know how this happened, though I must have inserted/deleted a wrong info in the form scripts I copied. Need help... thanks!!!
below is the script:
<script language="JavaScript">
function Submit()
{
document.myform.submit();
}
function Reset()
{
document.myform.Name.value = "";
document.myform.Firm.value = "";
document.myform.Address.value = "";
document.myform.Phone.value = "";
document.myform.Email.value = "";
document.myform.Question.value = "";
}
</script>
<!--body-->
<form method="POST" action="mailto:mydomain_name@yahoo.com" name="myform">
<input type="Hidden" name="subject" value="contact">
<input type="hidden" name="recipient" value="mydomain_name@yahoo.com">
<input type="hidden" name="redirect" value="thanks.html">
<p><b><font color="#3399CC">EMAIL US</font></b></p>
<table>
<tr>
<td height="15"> </td>
<td valign="middle" align="left" height="15"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C" bordercolor="#CDB99C"><font color="#003300" face="Verdana">Your
Name:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Name" SIZE="40"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C" bordercolor="#CDB99C"><font color="#003300" face="Verdana">Company
name:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Firm" SIZE="40"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C"><font color="#003300" face="Verdana">Telephone:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Phone" SIZE="25"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C"><font color="#003300" face="Verdana">E-mail:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Email" SIZE="25"> </td>
</tr>
<tr>
<td valign="top" bgcolor="#CDB99C"><font color="#003300" face="Verdana">Your query:</font></td>
<td valign="middle" align="left"><textarea rows="3" name="Question" cols="33"></textarea></td>
</tr>
<tr>
<td> </td>
<td><br>
<a HREF="javascript:Submit();"><img border="0" src="/forum/sub.jpg" width="78" height="22"></a>
<a HREF="javascript:Reset();"><img border="0" src="/forum/reset.jpg" width="78" height="22"></a></td>
</tr>
thanks in advance, as in!!!!
|
|
|
|
|
|
|
|