Lew
I have some javascript checking form values for blank entries and so on, but it's not working with Firefox

I could use the processing PHP page to check the values that were just sent in, but I think its better to have the info displayed immediately on the entry page rather than having to wait for processing by the next page.
Nehoo, the script (in the <head> tags): formApply being the name of the form, and so on.
<script language="JAVASCRIPT">
function validate() {
if(formApply.firstName.value == "")
{
alert("Please complete all required fields.");
return false;
}
if(formApply.surName.value == "")
{
alert("Please complete all required fields.");
return false;
}
if(formApply.telephone.value == "")
{
alert("Please complete all required fields.");
return false;
}
if(formApply.email.value == "")
{
alert("Please complete all required fields.");
return false;
}
if(formApply.emailCheck.value == "")
{
alert("Please complete all required fields.");
return false;
}
if(formApply.email.value != formApply.emailCheck.value)
{
alert("Emails do not match");
return false;
}
if(formApply.uploadedfile.value == "")
{
alert("Please complete all required fields.");
return false;
}
return true;
}
</script>
So why wont it work with foxy ?