mercredi 30 juin 2021

I am hiding the digital signature until every field and checkbox is completed. However, my code isn't recognizing the checkbox as not being checked

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