Can I add free text to 'this getfield' javascript command in subject of email?
I am very new to Javscript and have set up a PDF form with 2 submit buttons. The 1st button is set to send an email to a Manager to give their approval for a docuemnt. I have set a 'this getfield' command to the subject line in the email but I want to add free text to the start of the subject line saying "FOR APPROVAL" then to pull from the 'title of document' field. This is the code that I have used and it works
var cSubLine= this.getField("Title of document").value;
The person who helped me set up the javascript in the first place has now left so I am the only one doing it so please excuse my ignorance, I have not had any training but I am very keen to learn this and a very quick learner.
