2 Replies Latest reply on May 27, 2015 10:18 AM by Masters2150

    Syntax Error Missing }

    Masters2150

      I can not figure out what I am doing wrong with this.

       

       

      // Build the subject line text from several fields form fields

       

      reqname = getField("text14").valueAsString;

      reqbs = getField("text15").valueAsString;

      cliname = getField("text16").valueAsString;

      clibs = getField("text17").valueAsString;

      busreq = getField("text18").valueAsString;

      just = getField("text19").valueAsString;

       

      var subj_text = "Hardware - " + reqname;

       

      // Send the email

      mailDoc({

           cTo: "my@email.com",

           cSubject: subj_text,

           cMsg: subj_text + "REQUESTOR NAME: " reqname + "          REQUESTOR B&S: " + reqbs + "          Client name: " + cliname + "          Client B&S: " + clibs + "          Business requirement: " + busreq + "          justification: " + just,

      });