form not working in IE7

Hi, the reservation form in our website appears to be working great for us, but some customers have mentioned that they can not use it:

They say that they entered their information in the form, but we can not see their submissions in the log text file of the form or the automated email notifications we receive.

Is there anything we can change in css or javascript, to ensure maximum compatibility with all browsers after IE7?

Thank you
Who is Participating?
Mark BradyConnect With a Mentor Principal Data EngineerCommented:
You will need to be more specific. What happens when some customers try to use it? Errors? Blank page? What exactly do they see?
What browser are they using and which version - important information as some browsers have specific bugs but there are always work-arounds.
 The more you can tell us the quicker we can help you. Thanks
Mark BradyPrincipal Data EngineerCommented:
Also it would help if you posted you form processing code (the code that processes and emails the form data - usually a php script).
darkbluegrAuthor Commented:
Hi, thanks for the quick reply, the customers aren't getting any error messages, and I do not know exactly what they see because usually they will just call us after the fact -- and say that they have already completed the website form without further details.

they all mentioned that they are using IE but they do not know which version.

I had about 5 customers call me about this issue, and about 100 submissions from other customers were received successfully.

Here is the php code

Thank you
 * Template Name: Fun template


	 if ($_POST["check_send"]==1){
	   if (!empty($_POST["email"]) && !empty($_POST["naam"]) && !empty($_POST["telefoon"]) && !empty($_POST["opmerkingen"]) && (ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $_POST['email'])))
			   $message = "naam: ".$_POST["naam"]."<br/>";
			   $message .= "email: ".$_POST["email"]."<br/>";
			   $message .= "telefoon: ".$_POST["telefoon"]."<br/><br/>";
			   $message .= $_POST["opmerkingen"];
                  $handle = fopen("wp-content/themes/kalimera/contact.txt", 'a');
                  $log_message = str_replace("<br/>","
                  fwrite($handle, "
			   $HTML = $message;
			   $from= $_POST["email"];
			   $headers = "From: Kalimera <>\r\n"; 
			   $headers .= "MIME-Version: 1.0\r\n"; 
			   $boundary = uniqid("HTMLEMAIL"); 
			   $headers .= "Content-Type: multipart/alternative;".
						 "boundary = $boundary\r\n\r\n"; 
			   $headers .= "This is a MIME encoded message.\r\n\r\n"; 
			   $headers .= "--$boundary\r\n".
						 "Content-Type: text/plain; charset=ISO-8859-1\r\n".
						 "Content-Transfer-Encoding: base64\r\n\r\n"; 
			   $headers .= chunk_split(base64_encode(strip_tags($HTML))); 
			   $headers .= "--$boundary\r\n".
						 "Content-Type: text/html; charset=ISO-8859-1\r\n".
						 "Content-Transfer-Encoding: base64\r\n\r\n"; 
			   $headers .= chunk_split(base64_encode($HTML)); 
			   $mail_sent = mail("","Contact via","",$headers);
			   if ($mail_sent) unset($_POST);
			   $error = 1;

		<div id="container">
		<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
			<div id="content" <?php post_class(); ?>>

				<h1 class="FFF page-title"><?php echo get_the_title();?></h1>

				<div class="Avenir-light entry-content">
					<?php the_content(); ?>
					<div id="resform" class="contact_form">
				       <form action="" method="post">
						 <span class="Avenir-heavy">NAAM*</span>	&nbsp;<input type="text" name="naam" class="input required" value="<?php echo $_POST["naam"];?>"/><br />
						 <span class="Avenir-heavy">EMAIL*</span>&nbsp;<input type="text" name="email" id="email" class="input required" value="<?php echo $_POST["email"];?>"/><br />
						 <span class="Avenir-heavy">TELEFOON*</span>&nbsp;<input type="text" name="telefoon" class="input required" value="<?php echo $_POST["telefoon"];?>"/><br />
						 <div id="opmerkingen_label" class="Avenir-heavy">VRAAG OF<br/> OPMERKING*</div>
						 &nbsp;<textarea id="opmerkingen" name="opmerkingen" class="textarea requried"><?php echo $_POST["opmerkingen"];?></textarea><br />
						 <?php if ($error==1){?><div class="contact_error">* Please fill all required fields.</div><?php }?>
						 <?php if ($mail_sent==1){?><div class="contact_sent">Your message is sent.</div><?php }?>
						 <input type="hidden" name="check_send" value="1">
						 <input type="submit" id="resend" name="resend" value="VERZENDEN" class="resend-contf"/>&nbsp;
						 <input type="button" name="reset" id="reset" value="WISSEN" class="reset-contf"/>
				    </div> <!-- resform-->

                    <!--<div class="Avenir-light entry-content">
                         Door technische problemen is het op dit moment helaas niet mogelijk om via internet te reserveren of contact met ons op te nemen. Wij bieden u hiervoor onze excuses aan. U kunt wel per e-mail reserveren - <a href="" style="color: black;"></a> - of telefonisch via (030) 238 4444.

					$id = 155;
					$new_page = get_page($id); ?>
					<h1 class="FFF page-title"><?php echo $new_page->post_title;?></h1>

					<div class="Avenir-light entry-content">
						 <?php echo $new_page->post_content; ?>
						 <div id="map_canvas"></div>

				<div class="fb-content">

				</div><!-- .fb-content -->

			</div><!-- #content -->
		<?php endwhile; ?>
		</div><!-- #container -->

<?php get_footer(); ?>

Open in new window

Mark BradyPrincipal Data EngineerCommented:
I don't see any obvious mistakes in your form code but I do not have IE to test it with. Are you able to do some testing with IE yourself? If so I would do a simpler version of your form and make sure to form variables are being sent properly. Usually with IE you get problems when trying to change classnames or change an onclick event or something like that but yours seems to be ok for that stuff. Sorry I can't help firther - I haven't used IE for years and never looked back! Of course it is good to be able to test your pages in IE so I send mine to my work colleague who still uses it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.