Expand my Community achievements bar.

Submit by Email function

Avatar

Former Community Member
I have created a form using the Submit by email button. When testing the function I get this text as the default body of the email. Where can I change this as I want the people filling out this form to see custom information.



The attached file contains data that was entered into a form. It is not the form itself.



The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 for more details.
158 Replies

Avatar

Former Community Member
This may be a repeat. If so, I'm sorry. But I'm trying to follow the message threads.



I created a form using LiveCycle Designer 7.0. Instead of using the Submit by Email button, I used the Button in the palette. I went to the Object tab and selected the following:



Submit Format: PDF

Submit to URL: mailto:(designated email address)



Users are opening the form with Reader 7.03. They fill out the fields present on the form and when they click the button they are being prompted to send a data file, print the form, or cancel. When the user selects send the data file, outlook opens with a message and an xml attachment. Instead of sending an xml attachment, what do I need to do to in order for the user to send a PDF file with the information they inputted in the fields?

Avatar

Former Community Member
See this post (above):



James Robert Smith - 3:44pm Mar 19, 07 PST (#18 of 100) Edited: 19-Mar-2007 at 03:58pm



As mentioned in Designer Help, do not choose the PDF Submit option if the form will be filled in Adobe Reader without the user of LiveCycle Reader Extensions:



PDF Submits a package containing an embedded PDF file. Choose this format if the form contains a signature field, or if a copy of the form together with its data needs to be saved by LiveCycle Forms or submitted to some other kind of target server. Do not choose this option if the form initiates server-side processing, if LiveCycle Forms will be used to render HTML or dynamic forms at run time, or if the form is a PDF form that will be filled in Adobe Reader without the use of LiveCycle Reader Extensions.



Regards,



Hélène

Adobe Systems

Avatar

Former Community Member
Still no thoughts on programmatically setting the filename when emailing the form?

Avatar

Former Community Member
I am having the same problem as posted by Kristi Schneider - (#81)<br /><br />Currently, I can open each xml attachment and add the code for the stylesheet, like this: <br /><br /><?xml version="1.0" encoding="UTF-8"?> <br /><?xml-stylesheet type="text/xsl" href="HotelForm_style.xsl" ?> <br /><br /><form1 <br /><br />--but I'd like for the stylesheet to be auto-added to the form or applied at some point, so that I can just open the attachments and not have to add code and resave. <br /><br />Does anyone have any ideas?

Avatar

Former Community Member
Anybody on: programmatically setting the filename when emailing the form?

Avatar

Former Community Member
Hi. I'm using Livecycle with Acrobat Pro 8.1.1. I've created a fax form for the whole company to use. Has a few required fields. I don't need to collect the data, just want everyone to get the form for their own use. Is it better to submit the document to all, or just as an attachment to an e-mail to all? I just attached it to an e-mail and one person is having trouble with "0" showing in the fields and that person also has to click on the field to highlight it. Any help would be appreciated.

Thnx.

Avatar

Former Community Member
When using Acrobat to create pdfs for our website, the e-mail addresses within the pdf changes the email address eg. john.smith@address.com changes to smith@address.com. These are Word documents (2003) converted to pdf. The pdf email link no longer works after converting and uploading to the web. Any solutions?

Avatar

Former Community Member
to James Robert Smith: Thank you Thank You Thank You!!!!! #18 is the missing step - here it is again. This works!!!!!



1) Add a button (not the email submit button, just the "button")

2) Set the Control type to Submit

3) On the submit tab, add "mailto:mysister@myhouse.com" in the Submit to URL box

4) Change the submit as drop down to PDF

5) Save the form

6) Open the form in professional 8.0 (not livecycle designer)

7) Go to the Advanced option on the toolbar and select "Enable Usage Rights in Adobe Reader" which will require you to save the file again.



once you've done that you should have no problem with the emailing the completed form.

Avatar

Former Community Member
Dear Becky Terhaar (post #94),

Regarding your questions about having a submit button send both an XML and a PDF file. I have found a solution, although it is by no means elegant and I believe it is not recommended by Adobe because it requires alteration of the XML source code in Livecycle Designer.

If you go to the XML source code for the button you will find the code:





Simply copy this and paste it again directly below and change the submit format. So you end up with:








When you click the submit button, it will open up an email window and send the XML version, once sent it will open a second email window and send the PDF version.

Like I said, by no means elegant but it works. This will also provide a solution to sending the form to two different email adresses.

Avatar

Level 1

Simon,

I do need to attach an XML and PDF version of the form in an email. Can you possibly repeat the code in ref 108. The code section of your text is not visible.

I currently have code to attach an XML file but would also like to attach a PDF version in the same email:

event.target.submitForm({cURL

:"mailto:" + vSubmitTo +"?subject="+LEASEIMPORT.ValidationCheck.Subform55.EmailSubject.rawValue+"&body=Please find the 2 files file to be imported ",cSubmitAs:"XML",cCharset:"utf-8"});

Thanks in advance

Lester

Avatar

Former Community Member
Hi Becky, further to my last re #94. Turns out the ability to post both XML and PDF version is a null requirement. Once you receive the returned form you can convert it between these two formats by opening the file and using File>form data>import to or export from options.

Avatar

Former Community Member
Still, can not sent to more than one e-mail address.



1) Add a button (not the email submit button, just the "button")

2) Set the Control type to Submit

3) On the submit tab, I enter "mailto:mysister@myhouse.com?subject=Submitted Form&body=Please find attached the completed form" in the Submit to URL box

4) Change the submit as drop down to PDF or XML

5) Save the form

6) Open the form in professional 8.0 (not livecycle designer)

7) Go to the Advanced option on the toolbar and select "Enable Usage Rights in Adobe Reader"



This works!



However the moment I try to add a second e-mail address ie.



"mailto:mysister@myhouse.com,nobody@home.com?subject=Submitted Form&body=Please find attached the completed form"



It seems that depending on if I use ":" or ";" I will only get ONE address populated OR if "," an error telling me that it does not recognise the ",".



This is driving me MAD... Can some one please provide a simple straight forward solution. There are lost of posts and many answers point to a simple solution, that does not work as expected.

Avatar

Former Community Member
Hi all,



I'm new to this, so I'm hoping someone can help me figure my issue out. I have created a form in LiveCycle Designer and have linked the form to our Intranet for our staff to access and use. I followed the aforementioned instructions to create my button instead of the "Submit by Email" button, but when the form is opened in Reader and the button is clicked our staff is getting the following message:



Error opening URL to submit this form



I double checked the mailto: address and it is correct, so I'm not sure what else I am missing. Our staff currently is using Reader 7 if that helps too.



Any help is appreciated! Thanks!



-Ken

Avatar

Former Community Member
Comp_dad and Ken, try this:



change the control type of your "Button" to Regular. on the click event add the following:



event.target.submitForm({cURL:"mailto:mysister@myhouse.com;nobody@home.com?subject=Submitted Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset:"utf-8"});



see if that works

Avatar

Former Community Member
I forgot to mention that you need to change the programming language to JavaScript for that.

Avatar

Former Community Member
Hey everyone,

I was reading the different posts about adding multiple recipients for the return of a form. Well I called adobe and they just suck *!@#$. Well, without their help I figured out a way to figure out this method. Create a distribution list with a particular email address and add the addresses you would like the distribution list to send to. Its simple and it worked for me.

Good Luck,

Zae

Avatar

Former Community Member
This can work, but only if every user has that distribution list as well. Unfortunately its not an efficient way of sending to multiple email addresses since you can't control what distribution lists your form users have.



On the other hand, if it's an internal form where users authenticate to active directory and you set up an email list in AD, it would work.

Avatar

Former Community Member
I have created a field form with a "Submit By Email" option at the end. Those users with Outlook don't seem to have a problem; a new email is launched with the appropriate .xml file. However, those using an MSN or internet email account have reported that MSN protects the attachment from being attached or others say the email is created, but no attachment appears. It's blank. They can't save the .xml file in Reader so they don't have way to send the form they just filled out. Anyone know how to fix this? Thanks!

Avatar

Former Community Member
I made a form, and want the responders to e-mail the data back to me. A lot of my responders do not use outlook or other local e mail programs, but use hotmail etc and acrobat reader. When they click at the e-mail button, they get a message that e mail program is not installed.



Therefore I want to make a buttom which save the data in a XML Data Package (XDP). The responder can then save the data, and then log into hotmail and attach the da file(and then send it to me)



How can I do this?

Avatar

Former Community Member
Thanks to all the post pertaining to submit data, I was able to create and link to my web site a couple of data obtaining forms. However, since my organization has switched to Internet Explorer 7, the forms are not working properly.

I have updated my software, but now I have no way of knowing whether the form has been submitted. (When the form was working correctly...when I clicked to submit, Outlook opened up and showed the form attached. Now when I click Submit....nothing.) However, my boss tells me he is getting them, but I need for the user to know that their form has been submitted. Any suggestions????