Project

General

Profile

Bug #15034 » new_radio.patch

Administrator Admin, 2005-10-12 10:38

View differences:

test.html 2005-10-12 10:36:37.722016000 +0200
* This copyright notice MUST APPEAR in all copies of this script
***************************************************************/
function validateForm(theFormname,theFieldlist,goodMess,badMess,emailMess) {
if (document[theFormname] && theFieldlist) {
var index=1;
......
}
}
break;
case "radio":
var l=fObj.length;
for (a=0; a<l;a++) {
if (fObj[a].checked) {
value = fObj[a].value;
}
}
case "radio":
var l=fObj.length;
if(l) {
for (a=0; a<l;a++) {
if (fObj[a].checked) {
value = fObj[a].value;
}
}
} else {
if (fObj.checked) {
value = fObj.value;
}
}
break;
default:
value=1;
(2-2/2)