turtle Posted April 28, 2010 Share Posted April 28, 2010 Can anyone tell me why this simple script works in mozilla and chrome but not in IE. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" ><title>Formulier</title></head><body bgcolor="#CCCCCC"><h1 align="center">Bestelformulier<br /></h1><form action="mailto:verkoop@simulatie.novacollege.nl" method="post" name="contact" id="contact" enctype="text/plain"> <table width="400" border="0" align="center"> <tr> <td>Naam Bedrijf:</td> <td><label> <input type="text" name="Bedrijf" id="Bedrijf" /> </label></td> </tr> <tr> <td>Naam Contactpersoon:</td> <td><input type="text" name="Contactpersoon" id="Contactpersoon" /></td> </tr> <tr> <td>E-Mail:</td> <td><input type="text" name="E-mail" id="E-mail" /></td> </tr> <tr> <td>Naam artikel:</td> <td><input type="text" name="Artikel " id="Artikel " /></td> </tr> <tr> <td>Artikelnummer:</td> <td><input type="text" name="Artikelnummer" id="Artikelnummer" /></td> </tr> <tr> <td>Aantal</td> <td><input type="text" name="Aantal" id="Aantal" /></td> <tr> <td>Opmerkingen:</td> <td><textarea name="Opmerkingen" id="Opmerkingen" cols="45" rows="5"></textarea></td> </tr> <tr> <td><input type="submit" name="Verzenden" id="Verzenden" value="Verzenden" /></td> <td><input type="reset" name="Leegmaken" id="button" value="Leegmaken" /></td> </tr></table><p> </p></form></body></html> Link to comment Share on other sites More sharing options...
Atrix Posted April 28, 2010 Share Posted April 28, 2010 Hi,What is it doing or not doing on your screen?It all seems okay in IE when I test it. What version of IE are you using. I tested it on IE8 Link to comment Share on other sites More sharing options...
turtle Posted April 28, 2010 Author Share Posted April 28, 2010 Hi,What is it doing or not doing on your screen?It all seems okay in IE when I test it. What version of IE are you using. I tested it on IE8i'm testing it in IE8it refuses to put all the date form the form into outlook but it works perfectly in Mozilla and Chrome Link to comment Share on other sites More sharing options...
Atrix Posted April 28, 2010 Share Posted April 28, 2010 I think this is an IE problem as the html seems okay and if it works in Firefox and chrome its got to be IE. (Stupid Microsoft )I would suggest using a send formmail script to send form data to your inbox. It is more secure and allows anyone to send you the information regardless of browser and email program. Not all people have email programs on their computer.They are easy to set up and you can find some good free ones out there.I hope this helps. Link to comment Share on other sites More sharing options...
MadFly Posted April 28, 2010 Share Posted April 28, 2010 You could try it after removing the following from you <HEAD> section "http://www.w3.org/TR/html4/strict.dtd" and <meta http-equiv="Content-Type" content="text/html; charset=utf-8" > I noticed that after removing this sometimes sorts out a problem. And you might need to play around with that strict.dtd part as well. I had some other problem on a page and after removing the code above, everything worked fine.Just a maybe Link to comment Share on other sites More sharing options...
jeffman Posted April 28, 2010 Share Posted April 28, 2010 The mailto method is unreliable, and most users don't like it anyway, because they do not know how to configure their systems to use it.I suggest learning enough of a server language to take advantage of mail scripts. They are easy to use and easy to find for almost every server language I can think of, including PHP, Perl, and the ASP languages.FWIW, removing a strict doctype is a terrible solution to any problem. The benefits of a strict doctype far outweigh the problems, which can usually be solved by better solutions. Link to comment Share on other sites More sharing options...
ShadowMage Posted April 28, 2010 Share Posted April 28, 2010 FWIW, removing a strict doctype is a terrible solution to any problem. The benefits of a strict doctype far outweigh the problems, which can usually be solved by better solutions.Indeed. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.