Jump to content

Need help fast


Recommended Posts

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 post
Share on other sites
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
i'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 post
Share on other sites

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 post
Share on other sites

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 post
Share on other sites

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.

Edited by Deirdre's Dad
Link to post
Share on other sites
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...