I have a form that I am validating. The script works fine in IE, but
Mozilla is a defferent story.
Here is the section that is giving me problems.
// Preferred contact method
if ((document.cont act_form["contact_prefer "][0].checked == false)
&& (document.conta ct_form["contact_prefer "][1].checked == false)) {
field_errors = field_errors+"P referred contact method -
Please tells us how you would prefer to be contacted \n";
errors++;
The Mozilla error reads:
document.contac t_form["contact_prefer "][0] has no properties.
Anyone know the answer to this one?
Thanks
Mozilla is a defferent story.
Here is the section that is giving me problems.
// Preferred contact method
if ((document.cont act_form["contact_prefer "][0].checked == false)
&& (document.conta ct_form["contact_prefer "][1].checked == false)) {
field_errors = field_errors+"P referred contact method -
Please tells us how you would prefer to be contacted \n";
errors++;
The Mozilla error reads:
document.contac t_form["contact_prefer "][0] has no properties.
Anyone know the answer to this one?
Thanks
Comment