Skip to main content
Participant
June 26, 2018
Answered

Setting a form Submit button to send to multiple email addresses.

  • June 26, 2018
  • 1 reply
  • 19039 views

I have a form that, when completed, needs to be sent to three email addresses.  I have added them in the Properties/Actions area, but when I test the form, it only shows the form as being sent to my email address, which is not one of the addresses entered in the Actions area.  What am I missing on this?  Thank you in advance for any help.

Correct answer try67

Hi,

Thank you, if i woulkd like to link several manual input emails together do i format it like so:?

 

this.mailDoc({cTo: "email1@test.co.uk;" + this.getField("Cust Email").valueAsString, cCc: "email2@test.co.uk;" + this.getField("Op Email").valueAsString, + (";") + this.getField("Op Email2").valueAsString, + (";") + this.getField("Op Email3").valueAsString,


Almost. Drop the commas after valueAsString (except for the last one), and the parentheses around the semi-colon strings.

1 reply

try67
Community Expert
Community Expert
June 26, 2018

How exactly did you set up the Submit button?

Participant
June 26, 2018

In the Prepare Form tool, I clicked on the button icon and added the Submit and a couple of other buttons.

Within the submit button properties, I set the label options (Icon and Label) and in the actions tab, I chose 'Execute a menu item' - Submit a form.  I then edited it to mail to the three addresses separated by a ; and set it to send the complete PDF document.

I typically always set the properties under Edit > Identity > to match the email address as I have had issues in the past if I didn't.  That area will not allow you to enter more than one email address and move forward, unless I'm doing something wrong there.

try67
Community Expert
Community Expert
June 26, 2018

You added the wrong command. See: Setting action buttons in PDF forms, Adobe Acrobat