I am creating a form to have clients complete and when complete to press an "Email" button to attach to their email client to return the form.
This works but doesnt identify the client in the email body:
this.mailDoc(true,"example@email.com","Subject Line","Body of the email");
I want to parse the clients name into the body of the cMsg, like this but it doesnt work:
this.mailDoc(true, "example@email.com", "", "", "Survey", "Please find attached a pdf of your Survey from " + this.getField("NameField").valueAsString);
I have tried everything, including creating a variable for the namefield and then parsing that in the subject string, but to no avail.
PDF Architect 'how to' documents say "PDF Architect allows you to use all capabilities specified in the "JavaScript™ for Acrobat® API Reference". I have checked these and the above should work.
Ideas anyone?