Skip to main content
cassiek57985574
Participant
March 15, 2018
Answered

How do I add field data into summary line of email for submit button

  • March 15, 2018
  • 1 reply
  • 864 views

Hi there,

I am trying to use field data to populate text in the summary line using my submit button. Can anyone help me figure this one out? I have tried searching the forums as this seems like a typical thing, but I haven't had much luck...

This topic has been closed for replies.
Correct answer Thom Parker

Sorry I misunderstood your questions. You can't do this from the built-in submit action. It can only be done from a script. Here's the article you need.

https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

1 reply

Thom Parker
Community Expert
Community Expert
March 15, 2018

You need to use a calculation script in the summary field. Calculations can be used to add text together as well as numbers.

Here are a couple of resources.

https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations

Calculating field values and more

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
cassiek57985574
Participant
March 16, 2018

Hi Thom - Thank you for the articles, but I'm still not getting the desired result. I am using the Submit Form action on the button properties and trying to get the fields First NameRow1 and Last NameRow1 into the summary line of the email. Is there another place I should be putting this script? I think I have read that this won't work in the URL section, but I'm not sure where else it would go. I am still very much a beginner...

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
March 16, 2018

Sorry I misunderstood your questions. You can't do this from the built-in submit action. It can only be done from a script. Here's the article you need.

https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often