Copy link to clipboard
Copied
Good afternoon,
I'm getting a syntax error
10: at line 11
Can anyone help me with this, please? I don't know anything about JavaScript and would greatly appreciate any help you can provide.
Thank you,
Patti
//resets the field to disabled
this.getField("FirstShiftCoordinatorSignatureRow1").display = display.disabled;
this.getField("SecondShiftCoordinatorSignatureRow1").display = display.disabled;
this.getField("ThirdShiftCoordinatorSignatureRow1").display = display.disabled;
//set variables
var showCoining = true;
var checkLength = this.getField("Coining").value.length;
if(checkLenght) == Coining) {
//app.alert(word);
showCoining = false;
//app.alert(showCoining);
} if(showCoining) {
this.getField("FirstShiftCoiningSupervisorRow1").display = display.enabled;
this.getField(SecondShiftCoiningSupervisorRow1").display = display.enabled;
this.getField(ThirdShiftCoiningSupervisorRow1").display = display.enabled;
}
else {
this.getField("FirstShiftCoiningSupervisorRow1").display = display.disabled;
this.getField(SecondShiftCoiningSupervisorRow1").display = display.enabled;
this.getField(ThirdShiftCoiningSupervisorRow1").display = display.enabled;
}
Copy link to clipboard
Copied
Please post the exact name of the Adobe program you use so a Moderator may move this message to that forum
Copy link to clipboard
Copied
I'm using Adobe Acrobat Pro DC.