2 Replies Latest reply on Dec 12, 2017 3:03 AM by omanbux

    getting error in JavaScript

    omanbux

      hi, i'm getting "SyntaxError: missing ; before statement" error in bellow code. can u pls help me to solve this issue. thanks..

       

      var s1 = getField("aa").valueAsString;

      var s2 = getField("bb").valueAsString;

       

      event.value = "THIS AGREEMENT (the "Agreement") is made on" + s1 + ", by and between Sterling & Pope Publishing Corp, DBA, and hereafter referred to as, "The Painting Pro Guys" ('Master Licensor'), 7462 Chinaberry Lane, Frisco, Texas 75033 and " + s2 + " , of Texas, on the basis of the following understandings and agreements:" ;