Dynamic Subject line won't allow submit button to work.
This is my script...I can't figure out what I'm missing. When I click submit it doesn't do anything. I'm trying to create a dynamic subject line with text in the body to click submit and the form to email as an attachment.
var CID = getField("CID").valueAsString;
var ORG = getField("ORG").valueAsString;
var ClientName = getField("ClientName").valueAsString;
var Requestor = getField("Requestor").valueAsString;
this.mailDoc({CTo:"email@email.com", cSubject: "Billing Adjustment for: CID "+CID+" - Org "+ORG+" - "+ClientName+" - "+Requestor, cMsg: "Please see the attached adjustment for "+ClientName+"."});
Any help is greatly appreciated.
