add: if (atLeastOneField == 0) { var theField = theForm.elements["field_0_1"]; alert(errorMsg0); theField.focus(); return false; }  
context: function checkTableEditForm(theForm, fieldsCnt){    for (i=0; i<fieldsCnt; i++)    {        var id = "field_" + i + "_2";        var elm = getElement(id);        if (elm.value == 'VARCHAR' || elm.value == 'CHAR') {            elm2 = getElement("field_" + i + "_3");            val = parseInt(elm2.value);            elm3 = getElement("field_" + i + "_1");            if (isNaN(val) && elm3.value != "") {                elm2.select();                alert(errorMsg1);                elm2.focus();                return false;            }        }    }    return true;} // enf of the 'checkTableEditForm()' function
meta: 8858	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8858/7e1316c5d4bbabc3e5abe6b26c6103b2ac7887e9/functions.js/buggy/libraries/functions.js