Menu
I uses a javacript to validate my forms. It uses a testForms protocol like this with elements too check being called isXXXX.
[code=html]
// Checks the NAME field.
function isName(){
var str = document.forms[0].name.value;
// Return false if first name field is blank.
if (str == “”){
alert(“nYour NAME field is blank.nnPlease re-enter your full name.”)
document.forms[0].name.focus();
return false;
}
return true;
}
problem is, I can get it to validate drop downs and text fields, but not sure hot to modiy it to get it to validate a radio button groupp using the form check type I have.