Create CC address from field value
I am creating a form which will be submitted via email. I need the form to CC an email address based on a field value.
I need it to be based on: field = employee ID then cc the email address for the particular ID
I've currently got the rest of it working. Just want to add in this CC function to streamline a process.
so far I've got:
var Subject = getField("fieldname").value;
this.mailDoc({
bUI:false,
cTo: "email address",
cSubject: "Additonal text"=Subject,
cSubmitAs: "PDF"
});
thanks
