Click to See Complete Forum and Search --> : Blank E-mail form in Netscape 7.0


Vincenzo
12-11-2002, 10:12 AM
I did up a form which, when submitted e-mail the information the user places on the form - simple javascript stuff. It works fine with IE & old Netscapes but Netscape 7.0 does not send the text information only a blank e-mail.

Anyone else having this occurance? Any possible suggestions?

Thanks!

gil davis
12-11-2002, 12:02 PM
Any possible suggestions?
I could probably think of several, if I was a mind reader. How about posting a link, or some code?

Vincenzo
12-11-2002, 03:33 PM
Here is the code:

<HTML>
<HEAD>

<TITLE>Feedback Form</TITLE>
</HEAD>
<BODY BGCOLOR="#CCFFFF">
<SCRIPT language="JavaScript"><!--

function sendMail() {

if (document.forms[0].name.value == "") {

alert("You must specify Company Name!");

return false;

}


if (document.forms[0].mail.value == "") {

alert("Please add your E-mail");
return false;
}


// Construct a mailto: URL with all the details:

document.forms[0].action = "mailto:" +

"info@dbi.ca" +

"?name=" +

document.forms[0].name.value;

return true;

}

//--></SCRIPT>


<P><!--

Posting via E-Mail

--><NOSCRIPT>Feedback Form</NOSCRIPT>
<CENTER>
<H2>
Customer Survey</H2></CENTER>



<HR>

<P><FONT SIZE=+0>Please type all information and press the <B>Submit</B> button.</FONT>

<P><FORM method="post" enctype="text/plain">

<TABLE>

<TR>
<TD ALIGN=RIGHT><B>Company Name:</B>&nbsp;</TD>

<TD><INPUT type=text size=20 maxlength=80 name="name"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>Contact Name:</B>&nbsp;</TD>

<TD><INPUT type=text size=20 maxlength=80 name="contact"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>Address:</B>&nbsp;</TD>

<TD><INPUT type=text size=40 maxlength=60 name="address"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>City:</B>&nbsp;</TD>

<TD><INPUT type=text size=10 maxlength=60 name="city"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>Prov./St.:</B>&nbsp;</TD>

<TD><INPUT type=text size=3 maxlength=3 name="prov/st"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>Postal/Zip:</B>&nbsp;</TD>

<TD><INPUT type=text size=7 maxlength=12 name="postal/zip"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>Phone#:</B>&nbsp;</TD>

<TD><INPUT type=text size=10 maxlength=25 name="phone"></TD>
</TR>

<TR>
<TD ALIGN=RIGHT><B>E-Mail:</B>&nbsp;</TD>

<TD><INPUT type=text size=30 maxlength=50 name="mail"></TD>
</TR>

</TABLE>



Comments:<BR>
<TEXTAREA name="Comments" rows=4 cols=70></TEXTAREA>

<HR>
<P><B>Please Note:</B> There will be no confirmation that your Survey has been sent.<BR>
Select back or click the <I>HOME</I> button to return to the DBI web site and Thank you for participating.</P>

<UL>
<UL>
<UL>
<UL>
<UL><INPUT type=submit value="Submit" onClick="sendMail()">

<INPUT type=reset value="Clear"></UL>
</UL>
</UL>
</UL>
</UL>
</FORM>

</BODY>
</HTML>

shammond
01-17-2003, 02:50 PM
Did you get a resolution to this? I am having the same problem with Netscape 7.0 and also AOL 7.0 and higher

steve hammond