Try67,
Not sure if you remember when you helped me a few months ago with a different script.
But in my case I was using drop down menus that had export values for each option listed under that field.
What worked for me was to eliminate the export value and use the .valueAsString instead of .value one time with a similar function?
What happens if julieh changes his script from getting the default export value of the following fields:
var cToAddr= this.getField("Delegation Sign Off").value;
var cCCAddr= this.getField("Content Owner").value;
var cSubLine= "FOR APPROVAL: " + this.getField ("Title of document").valueAsString
TO:
var cToAddr= this.getField("Delegation Sign Off").valueAsString;
var cCCAddr= this.getField("Content Owner").valueAsString;
var cSubLine= "FOR APPROVAL: " + this.getField ("Title of document").valueAsString
OR,
try the using just .value for all the variables instead?
var cToAddr= this.getField("Delegation Sign Off").value;
var cCCAddr= this.getField("Content Owner").value;
var cSubLine= "FOR APPROVAL: " + this.getField ("Title of document").value;
AND / OR,
he is also missing a semi-colon " ; " at the end of this line:
var cSubLine= "FOR APPROVAL: " + this.getField ("Title of document").valueAsString