Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Email issues


Level 1

Once the user completes the form, they would click the "Submit" button. The "Submit" Button in the Object "Submit to URL:" I have it under me "mailto:xxx@xxx" and submitting as PDF. Now my question is how do you get this to say "get data from "Email" text field and then execute emailing of the form"? What I am asking is once the users complete the form "the field "Email" will be populated by the user's email, as that field is required. 


1 Reply


Level 2

You need to submit using Adobe JS Actions; such as, mailDoc. There are multiple JS functions that perform similar actions. Using Adobe's built in Js functions requires client-side email software. JS is the least reliable way to send forms; because, not every user has their email software setup correctly.

Another way is to submit to a server-side script; such as The script can send the form submission without client side email software. Using iText; you can parse the form field text box and inject it into the mail message TO field. You can also pass the script a TO: email address in a URL query string parameter and when the form is submitted.

Note: Either way; the end-users will need Adobe Reader or a compatible PDF Reader in order to submit the PDF forms.

For online examples visit the following website: