Hello
I am trying to check if any radiobuttons of a radiobuttonlist's have been checked through this script:
At the isNull check i get an 'Object expected' runtime error. Could you help me with the script please?
I am trying to check if any radiobuttons of a radiobuttonlist's have been checked through this script:
Code:
var i=0;
var radiolist = document.forms[0].rdbTypeList;
for (i=0; i<=radiolist.length; i++)
{
if (isNull(radiolist[i].checked))
{
checked = true;
}
}
if (checked == false)
{ alert("Property type is a required field."); }
At the isNull check i get an 'Object expected' runtime error. Could you help me with the script please?