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

I want to put a submit button that emails the form to multiple emails inputted in the form fields?

Community Beginner ,
May 07, 2024 May 07, 2024

I need help creating a submit button that sends the email to the email address that are filled in to the form on my final page there are a total of 4 email address the field names are "Email, Email_2, Email_3, Email_4" I want the submit button to send to those email address can someone help me?

TOPICS
Create PDFs , How to , PDF forms
2.6K
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 Beginner ,
May 07, 2024 May 07, 2024

abc@gmail.com;xyz@gmail.com

 

You can add emails with a semi colon in Email Address field. Attached image for reference. 

Once you add more than one email and hit after that Submit by Email button, it would send the emails to all email addresses you added.

 

I hope this helps.

 

Please accept this as solution once it would worked for you.

FnuMeenu_0-1715100567218.png

 

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 Beginner ,
May 07, 2024 May 07, 2024

I am tring to get the button to send the email to the email address entered in to the fields on my form that are image on this reply, can some one send me the mailto:

format for those fields the fields are named (Email, Email_2, Email_3, Email_4)

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 Beginner ,
May 07, 2024 May 07, 2024

corrected image

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 ,
May 07, 2024 May 07, 2024

This image is from LiveCycle Designer, not Acrobat, and is not relevant to this question.

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 ,
May 07, 2024 May 07, 2024

You can do it using this code:

 

var targetEmails = this.getField("Email").valueAsString ";" + this.getField("Email_2").valueAsString ";" + this.getField("Email_3").valueAsString ";" + this.getField("Email_4").valueAsString;
this.mailDoc({cTo: targetEmails});
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 Beginner ,
May 08, 2024 May 08, 2024
LATEST

I need help to add/select dependent cc list with managers name and email addresses based on Location selection(I made this as a dropdown button with 6 locations) and is it possible user do not need to select manager, it can be hidden and select cc email based on location. And I also made a submit  by email button ( by adding HR email as the email needs to be sent to HR in To everytime the form would be submitted.)

I tried by all ways to add javascripts on mouseiup and click button ( after adding new submit button in form). It did not work for me.

 

I am working in livecycle designer(preferred) or can work in acrobat also.

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