Custom Subject line in Java Script
I built a button on a form to email the entire .pdf back for review. I figured out how to program the button to execute a Java script that will pull data from a field and display it in the Subject line of the email.
var mySubject=this.getField("Traveler Name").value;
this.mailDoc({bUI: true, cTo: "corporate.security@mycompany.com", cSubject: mySubject})
What I can't seem to figure out is how to edit the script to include the text, "Business Essential Travel Request from: " to precede the [Traveler Name] field in the Subject line:
PS: I have NO Java KSA's.
