Adding CC email address to java script

New Here ,
Aug 05, 2022 Aug 05, 2022

Copy link to clipboard

Copied

Hello,

I have a submit form button that runs a java script to attach the pdf to an email addressed to a specific person.  I have the "To" field working properly, i just need the CC field to work.  Currently, nothing populates in the CC field with this java script.  What is the correct script to make this work?

 

this.submitForm({
cURL: "mailto:ts@multifab.us?cCc:AP@multifab.us?subject=Absence Report",
cSubmitAs: "PDF",
});

TOPICS
General troubleshooting , JavaScript , PDF forms

Views

34

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 05, 2022 Aug 05, 2022

You have to use the correct mailto-syntax, like this:

"mailto:ts@multifab.us?cc=AP@multifab.us&subject=Absence Report"

Likes

Translate

Translate
Community Expert ,
Aug 05, 2022 Aug 05, 2022

Copy link to clipboard

Copied

You have to use the correct mailto-syntax, like this:

"mailto:ts@multifab.us?cc=AP@multifab.us&subject=Absence Report"

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 05, 2022 Aug 05, 2022

Copy link to clipboard

Copied

LATEST

Perfect, thank you very much!!!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines