Expand my Community achievements bar.

SOLVED

Adding CC to custom 'Submit' button

Avatar

Former Community Member

With much help from here in the past (thank you!), we've been using a form with a custom submit button, and I'm needing to add a cc.  I did add a var vCC = first.last@email.com, but no luck in placing it within this event properly.  What is the right way to add an additional cc?  Thank you!

 

 

event.target.submitForm({cURL:"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody,cSubmitAs:"PDF",cCharset:"utf-8"});obj.close();

1 Accepted Solution

Avatar

Correct answer by
Level 2

 

event.target.submitForm({cURL

:"mailto: "+ vEmail + "?subject=" + vSubject +"&body=" + vBody + "&cc=" + vCC, cSubmitAs:"PDF",cCharset:

"utf-8"});

View solution in original post

3 Replies

Avatar

Level 5

Just add "&cc=" + vCC to before "&body=" for example

Avatar

Correct answer by
Level 2

 

event.target.submitForm({cURL

:"mailto: "+ vEmail + "?subject=" + vSubject +"&body=" + vBody + "&cc=" + vCC, cSubmitAs:"PDF",cCharset:

"utf-8"});

Avatar

Former Community Member

Thank you Jenn and dohanlon, it's working great now, appreciate the help.