Made some minor changes to your script to get what I needed:var myDoc =
event.target;var address = "myemail@contoso.com,
secondemail@contoso.com";var subject = [TargetFieldName1.rawValue,
TargetFieldName2.rawValue, " Additional Static
Text"];subject.toString();myDoc.mailDoc({bEmpty: true,cTo:
address,cSubject: subject,csubmîtAs: "PDF"});Also, I found out I needed
a normal button that calls this script when clicked. Otherwise, thank
you for getting me pointed in the right direction.