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

Emailed Form comes back as PDF even though submit format=XML

mltsy
Registered: Sep 3 2008
Posts: 5

I have a form I created with an e-mail submit button.

The button's properties include:

<event activity="click">
   <submit format="xml" target="mailto:<span class="spamspan"><span class="u">email</span> [at] <span class="d">domain [dot] com</span></span>" textEncoding="UTF-8"/>
</event>

But for some reason, when I e-mail it to myself, fill it out and click that button, Adobe Reader sends back a whole PDF file. Most people seem to have the opposite problem. Why is it sending a PDF?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Did you enable this form for distribution, i.e., use the "Distribute Form" option? If you did then Acrobat modified the button to send the entire PDF.

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/]http://www.adobe.com/devnet/acrobat/[/url]

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

mltsy
Registered: Sep 3 2008
Posts: 5
Ahah! I did! So... is there a way to send out the e-mails without having it do that? Do I just have to compose an e-mail and attach the PDF and send it manually to each person I want to send it to?

Seems like the Distribution Wizard should... not automatically switch it to PDF submissions - if you ask me. ?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
I agree, you aught to get the option, not to use the data collection functionality. You see, the only reason that there is a distribution wizard is that Acrobat needs a way to set the forms up for collecting the returned data. And the only way, right now, for Acrobat to collect returned data is to get it back in a PDF. I don't know why, it's just the way they set it up. And unless you want to set up your own process (which is what you had to do before Acrobat 8) then you're stuck using whatever Adobe hands out.

However, its not so bad emailing the forms out manually. Use a mailing list so you can do it all in one shot.

There is also a 3rd party service that provides form data collection, www.formrouter.com

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/]http://www.adobe.com/devnet/acrobat/[/url]

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