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

Sending copy of form to outside recipient

Pumpford
Registered: Mar 2 2010
Posts: 5

I work for an entertainment lighting rental company and they want me to create a worksheet form with rental equipment listed in it. The user will be able to choose generators, lighting, etc. through checkboxes and filling in numbers next to various lighting units. This part is really not a big deal, just giving you a little history.

The owners of the company want the form to have a field that can be filled by the user which will send a copy of the filled in form to an outside recipient - a grip or producer, or whomever they wish and possibly not even fill in an e-mail address for someone else at all.

Is there a way in Acrobat 9 Pro or Extended that will allow this to be done - a simple field where an e-mail address can be entered and when the submit button is hit the form is sent to us and to the other recipient?

Thank you in advance!!!

My Product Information:
Acrobat Pro 9.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Read this article:

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

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

Pumpford
Registered: Mar 2 2010
Posts: 5
Sorry, I think you misunderstood. I want the form data to be mailed back to us in the same manner as using formmail.pl only I want a field where my visitor can enter an e-mail address for sending to the outside recipient.

The problem with using client side e-mail accounts to send the copy or the form for that matter is simple - what happens when the visitor uses something other than a local e-mail client, i.e. Yahoo mail, Gmail, Hotmail, etc.??

I'm not concerned with someone trying to hijak the form for spamming we have other forms online and a very good spam filter inline.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Ahh, thats an interesting one. I didn't misunderstand you. You didn't explain what you wanted.

You can submit PDF form data to a website in the HTTP Query String format, exactly the same way an HTML form does it. If the form contained the correct field names for matching up with what "formmail.pl" does then you could submit the PDF form directly to "formmail.pl". You could also fix up this code to handle anything special in your form.

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

Pumpford
Registered: Mar 2 2010
Posts: 5
I can't fix up any code in formmail.pl because I don't have the knowledge. I am a marketing manager with enough talent to create webpages, web forms, print designs and the other stuff that goes with marketing a business.

What I need is a simple easy to use way of creating a form passed to formmail or other script of that nature with the ability to allow the visitor/form filler to insert an e-mail address of another person to send the form to in addition to sending it to us.

Look! There's a field I can put Steven Spielberg's e-mail address into so he will get a copy of our camera supports, lighting and grip gear for our upcoming movie, too!! Wow! I can share my choices with others!!

Our company doesn't want the document to be portable, but we want it to be shared with at least one other person. And yes, one of them might be Steven Spielberg!
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
As I explained earlier, you may very well be able to use a PDF form with formmail. You should give it a try.

Are you currently using formmail? and who set it up for you? They would know what to do.

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