Skip to main content
jimlight
Known Participant
July 9, 2018
Answered

Is it possible to create a PDF that allows a user to click multiple links inside a PDF that would then place these clicks into an email when the user clicks a button?

  • July 9, 2018
  • 1 reply
  • 2603 views

Happy Monday, folks!

I'm working in FrameMaker 2017 with this project, but I also have Acrobat and was assuming that I needed to interface Acrobat to make this happen.

Generally, what I have is a user manual with an Illustrated Parts Breakdown in which the user can currently click on hotspots of the widget or on part numbers and be whisked away to that particular procedure of the manual.  What I would very much like to happen is for the User to be able to do one of two things, preferably both:

A)  Click on multiple components within the document that would be placed into an email once the User clicks a "submit" button or other button.  Imagine having to choose multiple part numbers and then hitting some kind of button that would then list these clicks in the body of an email -- part number and description.

B)  Click on one component or part number and then click a button that would place that particular part number and description into the body of an email.

How would I go about this, or where would I look to start going about this?  I have a several hundred page document that has multiple parts and sections with parts that would need to be emailed to be ordered, and it makes much more sense to me to make the Service Manual interactive as I described for the User's benefit.

I appreciate any and all tips and pointers!

Jim

This topic has been closed for replies.
Correct answer try67

Wow, do I have a lot to learn about JS.

I tried the this.mailForm command, but it worked in neither Acrobat or Reader.  I discovered that you have to give the Reader user special permissions to save (I think) but that's way out of my reach at this moment.


It should have worked, at least in Acrobat and in the newer version of Reader.

Anyway, try this instead:

app.launchURL("mailto:me@server.com?body="+msgBody+"&subject=Your order");

1 reply

try67
Community Expert
Community Expert
July 9, 2018

Sure, that's possible. The first request can be done using check-boxes. The user will tick the products they're interested in and then a script, attached to the Submit button, will collect the information for all of the selected items and use it to generate an email.

The second request is also possible. For that one you can simply use a button for each product that will generate an email with that product's details when clicked.

The information itself can come from an attached text file, or it can be a part of the field (its tooltip text, for example), or even hard-coded into the script.

jimlight
jimlightAuthor
Known Participant
July 16, 2018

Let's say I had groups of check boxes, and in each group, I wanted to allow the user to select X amount of clicked boxes, click a submit button, and that would open an email displaying the tooltips for the selected boxes in an email to an email address.  How would I go about this with javascript -- or does Acrobat itself have functionality to allow em to do this without writing code?

I haven't ever written javascript before, and I'm willing to learn, I just have no idea how to even start!

try67
Community Expert
Community Expert
July 16, 2018

Yes, it would require using a script. What are the names of the check-boxes?