well, i've pretty much narrowed it down to a few sections of code that isn't working. Can you just look at the syntax of the following code and see if anthing looks wrong to you?
if(validRows.length >= 1){
for (var i = 0; i < validRows.length; i++) {
var fieldno = validRows[i].replace("parentRow","");
var txtinput = validRows[i].replace("parentRow","parentName");
eval("input=document.registerNew." + txtinput + ".value");
var txtcombo = validRows[i].replace("parentRow","parentTitle");
eval("combo=document.registerNew." + txtcombo + ".value");
if(txtinput == "" || txtcombo == "0"){
errorstring = "yes";
}
}
} if (errorstring == "yes"){
alert("Please fill in all parent names and relationships before adding more rows");
}