Connecting Tech Pros Worldwide Forums | Help | Site Map

Form: Functional in Firefox, but not IE

Newbie
 
Join Date: Oct 2008
Posts: 12
#1: Oct 6 '08
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

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,939
#2: Oct 6 '08

re: Form: Functional in Firefox, but not IE


Hey there, updw123.

What doesn't happen?
Do you receive any errors?

PHP is serverside, meaning PHP has nothing to do with what type of the browser the user is using.
Newbie
 
Join Date: Oct 2008
Posts: 12
#3: Oct 7 '08

re: Form: Functional in Firefox, but not IE


Hi Marcus,

Thanks for getting back to me.

Basically it says 'error on page' on the bottom right bar, and when I press nothing happens. On FireFox it just works as normal.

Thanks in advance,
Dave
ak1dnar's Avatar
Moderator
 
Join Date: Jan 2007
Location: Colombo
Posts: 1,440
#4: Oct 7 '08

re: Form: Functional in Firefox, but not IE


This is a pure HTML problem. After going through the markup of the file, what I can understand, there are so many problems with the html code. is this page contains some copied source from another page or pages?

Expand|Select|Wrap|Line Numbers
  1. <body class="thrColFixHdr">
  2. <body onLoad="reset()" topmargin="0" leftmargin="0"> 
There are two body tags here. but that is not the only issue.

Moved to HTML forum, from Php Forum.
--Moderator
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#5: Oct 7 '08

re: Form: Functional in Firefox, but not IE


The issue is caused by a link <a> tag inside the <script> tag. Either remove it or move it out. You should also correct the validation errors.
Newbie
 
Join Date: Oct 2008
Posts: 12
#6: Oct 7 '08

re: Form: Functional in Firefox, but not IE


acoder: Looks to have done the trick, thanks!

ak1: Yes It's taken from a free source.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#7: Oct 8 '08

re: Form: Functional in Firefox, but not IE


Quote:

Originally Posted by updw123

acoder: Looks to have done the trick, thanks!

You're welcome.

Don't forget to fix your HTML validation errors though.
Newbie
 
Join Date: Oct 2008
Posts: 12
#8: Oct 15 '08

re: Form: Functional in Firefox, but not IE


Quote:

Originally Posted by acoder

You're welcome.

Don't forget to fix your HTML validation errors though.

Thanks acoder, baby steps though!
Reply