I have a script that will attach a completed form in an email, and include the user's name in the subject line. The problem I am having is that there is no space between the first and last name, which makes sense given the code:
cSubject: "Travel authorization form for" + this. getField("text1").valueAsString+this.getField("text2").valueAsString
How do I add a space in between the two fields (Text1 is first name and Text2 is last name)?