Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding CC email address to java script

New Here ,
Aug 05, 2022 Aug 05, 2022

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
778
Translate
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
1 ACCEPTED SOLUTION
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"

View solution in original post

Translate
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
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"

Translate
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
LATEST

Perfect, thank you very much!!!

Translate
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