• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

I'm getting a syntax error that I can't figure out how to fix

Community Beginner ,
May 18, 2020 May 18, 2020

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;

}

Views

373

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2020 May 18, 2020

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 26, 2020 May 26, 2020

Copy link to clipboard

Copied

LATEST

I'm using Adobe Acrobat Pro DC.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines