var bEmpty = false;
var oFld = this.getField("Date") bEmpty |= /^\s*$/.test(oFld.value);
var oFld = this.getField("Vessel Name") bEmpty |= /^\s*$/.test(oFld.value);
var oFld = this.getField("Group0") bEmpty |= /^\s*$/.test(oFld.value);
var oFld = this.getField("Check Box 2") bEmpty |= /^\s*$/.test(oFld.value);
var oFld = this.getField("Check Box 3") bEmpty |= /^\s*$/.test(oFld.value);
this.getField("Employee Name").display = bEmpty ? display.hidden : display.visible;
Aucun commentaire:
Enregistrer un commentaire