These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Submit button question - can you allow users to select recipient?

clydesnodgrass
Registered: Mar 17 2010
Posts: 6

Howdy. New to the forum, seems there is a lot of VERY useful information here, glad I found it.

I have a form that I created in Excel, then converted to PDF. I have almost all the fields calculating properly, short of two different ones where I need to do a yearly total of one cell, IE: multiplying that field by 12 and I can't figure out how to do that.

ANYWHO. This form is going to be used by a few hundred broker shops across the country. There is already a button that sends it to a generic inbox in my company, but I also want to be able to have a button that allows the user of the form to select who they wish to send it to, if that's possible. It's not a necessity, but would be nice in the event the brokers allow their clients to fill the form in themselves (which is allowed) and then email it to the broker that sent. I realize a drop down box wouldn't be economical (if even possible), so I was hoping if they click the submit button, a separate window will open allowing them to send it to whomever.

I just had a eureka moment while writing this and figured just having "mailto:" in the properties field might work, if that's not, it, I'm leaving this regardless in case there is a better way.

Thanks!

My Product Information:
Acrobat Pro Extended 9.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This kind of interactivity, setting the email address dynamically requires scripting, i.e. JavaScript. You'll find an example using a dropdown box to select an email here:
http://www.acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

Be sure to download the sample file.

And yes you can use a popup box, but this is even a little more complex. Here's an article on custom popup dialogs in the Acrobat JavaScript world:
http://www.acrobatusers.com/tutorials/2006/popup_windows_part5

But if you are not a scripter I'd suggest staying with the dropdown. Custom dialogs are an advanced topic.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script