Hi Guys,
I know to error check a drop down field called "Reason" i would use.
if (document.HTML_ FORM.Reason.opt ions[0].selected == 1)
errorMsg += "The field Reason is mandatory and has been left blank\n";
and I know to check a text field I would use,
if (!(document.HTM L_FORM.Reason.v alue))
errorMsg += "The field Reason is mandatory and has been left blank\n";
Question I have what code would I use for a Group of Radio buttons? I have tried the .value option.
John
I know to error check a drop down field called "Reason" i would use.
if (document.HTML_ FORM.Reason.opt ions[0].selected == 1)
errorMsg += "The field Reason is mandatory and has been left blank\n";
and I know to check a text field I would use,
if (!(document.HTM L_FORM.Reason.v alue))
errorMsg += "The field Reason is mandatory and has been left blank\n";
Question I have what code would I use for a Group of Radio buttons? I have tried the .value option.
John
Comment