Forums
This topic is locked
Why am I still getting prompted on Validaitoin
27 Nov 2006 01:07:35 Ken ke posted:
Guys,I am trying to proceed to the next page but, cannot because I cannot get passed the Validation Prompt "Select a Fish Angler". Wondering Why ?
var found_it //<EM>initial value is null because we gave it no other value
for (var i=0;i<document.form1.CarpAnglerFishId.length; i++)
{
if (document.form1.CarpAnglerFishId[i].checked)
{
found_it = document.form1.CarpAnglerFishId[i].value //set found_it equal to checked button's value
}
}
if(found_it != null && document.form1.CarpAnglerFishId.value != ""

{
document.form1.submit();
return true;
}
else
{
alert("Select a Fish Angler"

return false;
}
Response.Write("<td align=""left""> <input type=""radio"" name=""CarpAnglerFishId"" value='" & RS1("FishId"


