rem: if (elm.value == 'VARCHAR' || elm.value == 'CHAR') { 
add: if (elm.value == 'VARCHAR' || elm.value == 'CHAR' || elm.value == 'BIT') { 
context: function checkTableEditForm(theForm, fieldsCnt){    // TODO: avoid sending a message if user just wants to add a line    // on the form but has not completed at least one field name    var atLeastOneField = 0;    var i, elm, elm2, elm3, val, id;    for (i=0; i<fieldsCnt; i++)    {        id = "field_" + i + "_2";        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;            }        }        if (atLeastOneField == 0) {            id = "field_" + i + "_1";            if (!emptyCheckTheField(theForm, id)) {                atLeastOneField = 1;            }        }    }    if (atLeastOneField == 0) {        var theField = theForm.elements["field_0_1"];        alert(errorMsg0);        theField.focus();        return false;    }    return true;} // enf of the 'checkTableEditForm()' function
meta: 5450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5450/573a6161bddca69aae1d6966fed7b938304eaa61/functions.js/clean/js/functions.js