Form: Functional in Firefox, but not IE

User 500583 Photo


Trial User
2 posts

Hi there,

I have a tell-a-friend form working very well in Firefox, but IE doesn't want to know:
http://www.p-s-i.org.uk/recform.php

Does anyone have any ideas? I'm sure it's something quite silly, but I just can't spot it.

Thanks in advance,
Dave
User 355448 Photo


Ambassador
3,144 posts

Dave,

You may want to click on profile and change your forum name to something other than your email address, just to help keep down the level of spam you get.

What version of Form Builder did you use?

Did you upload all the files from the CoffeeCup Form Builder?
User 500583 Photo


Trial User
2 posts

Thanks Bill.

A little embarrassing. I selected this forum on the basis of the similarity of questions asked, without really realising it was a software specific site.

Sorry about that.
User 355448 Photo


Ambassador
3,144 posts

DW,

Lots of posts here are not directly related to CoffeeCup software. I was just unaware and I don't know much about coding my own forms, so maybe one of the expert programmers here will see what IE needs kick it into shape.
User 37670 Photo


Registered User
2,138 posts

Hi DW,

I can't really help you with your Formail.cgi script, but errors in the coding of your web page could be partly to blame for I.E. not working as you would expect.
I used an editor to show me the line numbers...it might be off by a few depending on how you coded your page, but should point you to the right area...on line 107, just a couple lines after you open the <body> tab, you have this tag... </style>. It does not belong there. You already used that tag where it belongs, ending the <style> sheet that you use. Remove the extra </style> tag.
After the coding for you form, down on line 247, after ending a </script> tag, you have all of this:
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
<body onLoad="reset()" topmargin="0" leftmargin="0">

<style> and </style> tags belong inside of the <head> and </head> tags. You can have 'in-line' styles, but they are written differently. The other big issue is the <body onLoad="reset......> tag. You are only allowed to have one <body> tag on your web page.....yes there are exceptions to every rule, but in this case I don't see a need to open another body tag...especially since your page only uses the </body> tag once, and you open <body> twice.

You also have a number of empty tags. Example, on line 255, you have <center>
</center>
There is nothing to center, so these can be removed. Your form has some empty <label> </label> <label> </label> tags. Those should also be removed, unless you use them somehow for spacing...like some of us use empty <p></p> tags instead of line breaks.

OK, I'm stopping before you start to think that I am picking on your site. These are simple code errors that we all do from time to time. Most likely left over code from fixing and working on the web page. Once those are fixed up, I.E. might start to function better...might not...but it's worth a shot right?

Let us know when you got the form working, and what you did to fix it. Many of us would like to know so it saves us time when we run into the same problem.
E-Learning Specialist
www.mainsites.ca is my website, and yes, some of it is crappy.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.