i have a coldfusion form that i built using javascript to delegate the required fields in the form. it works fine in IE, but firefox does not accept the javascript. im not sure whether or not its related to the form. heres an exmaple of what i am using for the javascript:
Code:
<script language="javascript">
function validate_form ( )
{
valid = true;
if ( ( document.signup.name.value == "" ) )
{
alert ( "Name is empty!" );
valid = false;
}
else if ( ( document.signup.company.value == "" ) )
{
alert ( "Company is empty!" );
valid = false;
}
return valid;
}