Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validation of Toggle fields on Forms with Net 6.2

Status
Not open for further replies.

plshelpme

Programmer
Nov 1, 2001
27
0
0
CA
For some reason my form does not work in Netscape 6.2
The problem seems to be with the references to the toggle fields in the form. Whenever I remove this section the form works...but with these references, the JavaScript procedure just quits and the form can not be validated...hence the user can not move forward.

Here is how I am referencing the toggle field:

if (document.frmStep1.rdoCountry(0).checked == 1 && document.frmStep1.lstProvince.selectedIndex == 0) {
alert("error");
return false;
}

Any ideas for a work-around??

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top