Connecting Tech Pros Worldwide Forums | Help | Site Map

Form does not work in firefox, but works in IE

sipuebla@gmail.com
Guest
 
Posts: n/a
#1: Sep 21 '05
In our web site we have a form that can not be filled using firefox,
but can be filled using IE.

The form is at: http://www.sipuebla.com/brochure.htm

The html is as follows:
<BODY BGCOLOR=#5684B6 link="#5684B6" vlink="#5684B6" alink="#5684B6"
LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0
onLoad="MM_preloadImages('brochure/view_2.gif','brochure/download_2.gif')">
<!-- ImageReady Slices (brochuremain.psd) -->
<div align="center">
<TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="Images/brochuremain_01.gif" WIDTH=800 HEIGHT=90
ALT=""></TD>

</TR>

<TR>
<TD background="Images/brochuremain_03.gif"><p align="center"><font
color="#5684B6" size="3" face="Tahoma"><strong>Enter your personal
information to receive a free brochure.</strong></font></p>
<FORM METHOD=POST
ACTION="http://www.sipuebla.com/cgi-sipuebla/FormMail.pl">
<input type="hidden" name="recipient"
value="spanish@puebla.megared.net.mx">
<input type="hidden" name="subject" value="Brochure order Form">
<Input type="hidden" name="return_link_url"
value="http://www.sipuebla.com">
<A NAME="64"></A>
<TABLE BORDER=0>
<TR><TD WIDTH=8%> Name: </TD><TD><INPUT NAME="Name" TYPE="TEXT"
VALUE="" Size=30><BR></TD></TR>
<TR><TD WIDTH=8%> Address: </TD><TD><INPUT NAME="Address" TYPE="TEXT"
VALUE="" Size=30><BR></TD></TR>

<TR><TD WIDTH=8%> Address: </TD><TD><INPUT NAME="Address" TYPE="TEXT"
VALUE="" Size=30><BR></TD></TR>
<TR><TD WIDTH=8%> City: </TD><TD><INPUT NAME="City" TYPE="TEXT"
VALUE="" Size=20><BR></TD></TR>
<TR><TD WIDTH=8%> State: </TD><TD><INPUT NAME="State" TYPE="TEXT"
VALUE="" Size=20><BR></TD></TR>
<TR><TD WIDTH=8%> Zip_Code: </TD><TD><INPUT NAME="Zip" TYPE="TEXT"
VALUE="" Size=7><BR></TD></TR>
<TR><TD WIDTH=8%> Country: </TD><TD><INPUT NAME="Country" TYPE="TEXT"
VALUE="" Size=20><BR></TD></TR>
<TR><TD WIDTH=8%> Phone: </TD><TD><INPUT NAME="Phone" TYPE="TEXT"
VALUE="" Size=20><BR></TD></TR>

<TR><TD WIDTH=8%> E-mail: </TD><TD><INPUT NAME="E-mail" TYPE="TEXT"
VALUE="" Size=25><BR></TD></TR>
<TR><TD COLSPAN=2></TD></TR>

<TR><TD COLSPAN=2>Please use this space for any comments:<BR></TD></TR>
<TR><TD></TD><TD><TEXTAREA WRAP=OFF NAME="Comments" ROWS=5 COLS=45>
</TEXTAREA><BR>
</TD></TR>
<TR><TD COLSPAN=2>How did you find out about the Spanish Institute of
Puebla?
(please specify if possible)<br></TD></TR>
<TD></TD><TD><input type="checkbox" name="Formerst"
unchecked value="ON">
Former student
<input
type="text" size="40" name="Formerna" value="student
name">

<br></TD></TR>
<TD></TD><TD><input type="checkbox" name="Employer" unchecked
value="ON">
Employer
<input type="text"
size="45" name="EmpName_" value="company name">
<br></TD></TR>
<TD></TD><TD><input type="checkbox" name="Ad______"
unchecked value="ON">
Ad in newspaper/magazine
<input
type="text" size="30" name="Adname__" value="name of
magazine">
<br></TD></TR>
<TD></TD><TD><input type="checkbox" name="Universi"
unchecked value="ON">
My University/college
<input
type="text" size="34" name="UniName_" value="name of
university">

<br></TD></TR>
<TD></TD><TD><input type="checkbox" name="Search__"
unchecked value="ON">
I used a Web search service
<input
type="text" size="27" name="WebSearc" value="search
engine">
<br></TD></TR>
<TD></TD><TD><input type="checkbox" name="Other___"
unchecked value="ON">
Other source:
<input
type="text" size="41" name="Othernam">
</font> <br><P>

</TD></TR>


<TD COLSPAN=2><INPUT TYPE="SUBMIT" VALUE="Submit">&nbsp;<INPUT
TYPE="RESET" VALUE="Clear form"></TR><BR>
<hr WIDTH="100%">
</FORM>

</TABLE>
<!-- End ImageReady Slices -->
<P ALIGN=LEFT><FONT FACE="TIMES NEW ROMAN"><FONT SIZE=3><B>You should
receive our brochure within 10 days.</B></FONT></FONT></P>
<p align="center">&nbsp;</p></TD>
<TR>

<TD>
<IMG SRC="Images/brochuremain_04.gif" WIDTH=800 HEIGHT=22
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
<P ALIGN=center><b><font size="2" face="Tahoma"><a href="index.htm"
target="_top"><img src="index2/home.gif" width="80" height="80"
border="0"></a></font></b></P>
<P ALIGN=center><font color="#5684B6"><strong><font color="#FFFFFF"
size="1" face="Tahoma">Copyright &copy; 1984-2004 Spanish Institute<br>

All Rights Reserved.</font></strong></font></P>
<P ALIGN=center><font size="1" face="Tahoma"><a href="brochure.htm"
target="_top">learn spanish | learn to speak spanish | learning spanish
| spanish classes | spanish courses | spanish culture | spanish
education | spanish immersion programs | spanish language schools |
spanish language schools in mexico | spanish lessons | spanish sites |
spanish tutorial | spanish vocabulary | speak spanish | study spanish |
teaching spanish | Learn To Speak Spanish, Spanish Classes, Teaching
Spanish</a></font><br></P>
</div>
</BODY>


David Dorward
Guest
 
Posts: n/a
#2: Sep 21 '05

re: Form does not work in firefox, but works in IE


sipuebla@gmail.com wrote:
[color=blue]
> In our web site we have a form that can not be filled using firefox,
> but can be filled using IE.[/color]
[color=blue]
> The form is at: http://www.sipuebla.com/brochure.htm[/color]

You have rather a lot of machine detectable syntax errors, I'd start by
fixing those.

http://validator.w3.org/check?verbos...m/brochure.htm
http://validator.w3.org/check?verbos...ochuremain.htm

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Lee
Guest
 
Posts: n/a
#3: Sep 21 '05

re: Form does not work in firefox, but works in IE


sipuebla@gmail.com said:[color=blue]
>
>In our web site we have a form that can not be filled using firefox,
>but can be filled using IE.[/color]

It looks like your menu along the left side is overlaying the form.
Fix the page layout.

Stephen Chalmers
Guest
 
Posts: n/a
#4: Sep 22 '05

re: Form does not work in firefox, but works in IE


<sipuebla@gmail.com> wrote in message news:1127335018.842360.256790@g44g2000cwa.googlegr oups.com...[color=blue]
> In our web site we have a form that can not be filled using firefox,
> but can be filled using IE.
>
> The form is at: http://www.sipuebla.com/brochure.htm[/color]

Disabling Javascript confirms it to be a script problem, at which point
you disable the likeliest looking sections until the problem is exposed.

I don't know why you're doing this, but it's the cause:

<script language="Javascript">
<!-- Begin
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
// End -->
</script>

--
S.C.


Gérard Talbot
Guest
 
Posts: n/a
#5: Sep 22 '05

re: Form does not work in firefox, but works in IE


sipuebla@gmail.com a écrit :[color=blue]
> In our web site we have a form that can not be filled using firefox,
> but can be filled using IE.
>
> The form is at: http://www.sipuebla.com/brochure.htm
>[/color]

Please do not post code. Just post a link to the page.

Your page has a lot of problems.
First there is a very nasty script that runs 10 times per second just to
spam the status bar with useless info. Let me assure you that such
script will annoy much more a large majority of users than it will
promote your site.
My recommendation: ditch the function scrollit(seed) forever. Remove
<body ... onLoad="scrollit(100)">

Second, you have this function:

function disableselect(e){
return false
}
(...)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
What that does is if there is a mousedown event occuring on the document
for browsers supporting sidebar property, then the mouse event is
cancelled (or more precisely, the default action of the event is
canceled). That's why it's not possible to fill in the input in your
form. The same will happen in Seamonkey 1.x, NS 7.x and NS 8.x and any
browsers supporting a sidebar.

My recommendation: remove such scripts which can only annoy users anyway.

I don't understand why you want to disable so much of the users' basic
interface (selecting, right-click, etc..).

And like David D. told you, your document suffers from a lot of very bad
code and bad coding practices. You first should tackle these issues.

- unchecked is not an attribute
- <font> is deprecated
- BGCOLOR=#5684B6 link="#5684B6" vlink="#5684B6" alink="#5684B6"
LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0: every attribute
there is deprecated or invalid

http://validator.w3.org/check?uri=ht...line&verbose=1

Gérard
--
remove blah to email me
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#6: Oct 16 '05

re: Form does not work in firefox, but works in IE


Gérard Talbot wrote:
[color=blue]
> sipuebla@gmail.com a écrit :[color=green]
>> In our web site we have a form that can not be filled using firefox,
>> but can be filled using IE.
>>
>> The form is at: http://www.sipuebla.com/brochure.htm[/color]
>
> Please do not post code. Just post a link to the page.[/color]

Please do not follow that suggestion. Not everybody that has access to
Usenet has access to the Web at the same time, and posting the link to
a whole lot of (probably uncommented) code is not really going to help
to solve the issue.

If you post to this group, please post only snippets of the code you deem
relevant to your problem (i.e. not the entire code of a HTML document),
and, if possible, post the URL of a reduced test case in case you deem the
problem to be too complex to post it in all length here (if you don't do
the latter, you'll be probably asked for it if first suggestions to the
posted code do not help).

This not only helps the readers of the group to understand your problem
better, reducing the code to the problem often helps you to recognize by
yourself the coding errors you made. See also the newsgroup's FAQ at
<http://jibbering.com/faq/>.


PointedEars
Dr John Stockton
Guest
 
Posts: n/a
#7: Oct 17 '05

re: Form does not work in firefox, but works in IE


JRS: In article <12582228.1YVbq0xB9N@PointedEars.de>, dated Sun, 16 Oct
2005 19:27:53, seen in news:comp.lang.javascript, Thomas 'PointedEars'
Lahn <PointedEars@web.de> posted :[color=blue]
>Gérard Talbot wrote:[/color]
[color=blue][color=green]
>> Please do not post code. Just post a link to the page.[/color]
>
>Please do not follow that suggestion. Not everybody that has access to
>Usenet has access to the Web at the same time, and posting the link to
>a whole lot of (probably uncommented) code is not really going to help
>to solve the issue.
>
>If you post to this group, please post only snippets of the code you deem
>relevant to your problem (i.e. not the entire code of a HTML document),
>and, if possible, post the URL of a reduced test case in case you deem the
>problem to be too complex to post it in all length here (if you don't do
>the latter, you'll be probably asked for it if first suggestions to the
>posted code do not help).[/color]

WRONG. A well-reduced executable test case should be posted here, /in
toto/; not just snippets. The presence of <html><head>..</head><body>..
<script> and </script>..</body></html> or similar can be assumed.
[color=blue]
>This not only helps the readers of the group to understand your problem
>better, reducing the code to the problem often helps you to recognize by
>yourself the coding errors you made. See also the newsgroup's FAQ at
><http://jibbering.com/faq/>.[/color]

Since you notoriously disregard the convenience of other users by
persistently posting responses to ancient articles without even the
courtesy of indicating the date in the attribution, it hardly behoves
you to prate on other matters relating to the convenience of others,
even when you happen to be partly right.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME ©
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm> : about usage of News.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.
Closed Thread