2 Replies Latest reply on Jul 23, 2013 7:36 AM by njohnsrud

    Trying to pull info from a field to put into email title


      I'm sure this is pretty basic knowledge, but for some reason I just can't get it quite right. Below is the code I have for a button, and I would like it to pull info from a field called "Project Number" and put that into the title of the email. I've tried searching on this site, but I can't really find anything that applies to this. Any help would be greatly appreciated.




      if (this.getField("Item Needing ActionRow1").value=="")

           this.submitForm({cURL: "mailto:email@domain.com?subject=Completed Electrical Junction Box FAT", cSubmitAs: "PDF"});


           this.submitForm({cURL: "mailto:email@domain.com?subject=Electrical Junction Box FAT - NEEDS ATTENTION", cSubmitAs: "PDF"});