Expand my Community achievements bar.

How to change form submission default from XML to pdf?

Avatar

Former Community Member
I have created a pdf form with Acrobat Professional 8. When I click the submit email button it is sent as a xml file. How can I change this default to submit as a pdf file?



Thanks!
11 Replies

Avatar

Level 1
As mentioned on another thread to which you posted. You need to delete the email submit button that was created thru the wizard and just put a regular button on your form. With that button chosen go to the Object tab and on the Field tab under Control Type choose Submit. This will create a Submit tab to the right of the Field tab. On that tab choose PDF from the Submit As dropdown. Now your button will submit the form and the entries in the PDF format. Good Luck!

Avatar

Level 7
And just remember that it may not work with the free Reader, so

test...



Aandi Inston

Avatar

Former Community Member
using LiveCycle 8 I do not get the submit tab?



I add a new button, select it, go to Object, select Type: Email Submit Button (I don't have just "submit" in there?) and do not get a new tab created next to the Field Tab :(



upon testing, it generates an XML file. is there perhaps another setting I am missing? I tried it as Acrobat 7 Dynamic XML and Acrobat 7 Static PDF, and as Acrobat 8 Dynamic XML and Acrobat 8 Static PDF



any clues to the clueless would be greatly appreciated :)

Avatar

Level 7
>I add a new button, select it, go to Object, select Type: Email Submit Button



There's your problem. As Gene Hutton says, "You need to delete the

email submit button that was created thru the wizard and just put a

regular button on your form." So, do NOT choose "Email Submit

Button", choose "Button".



Aandi Inston

Avatar

Former Community Member
right, now I see the Submit radio button in the palette that creates the Submit tab (that's what I was missing earlier) but I have since found this which works very well:



I addded a button and this code to it



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



That worked great.

Avatar

Level 2
Can it do both?



Send both the XML and PDF of the form?

I have a Reader Extended (well, it will be) form, and require both the XML and PDF to be attached to an email, actioned by one button.



Please help!

(I will pay you in candy and endless flattery)



Zoe

Avatar

Level 7
Submit one to a web server, use the LiveCycle Forms server to make a

filled PDF from the XML, use standard web techniques to combine them

into an e-mail.



Aandi Inston

Avatar

Former Community Member
I also am trying to find the SUBMIT under "Field Control Type" in order to submit my document as a PDF.



There is NO SUCH SELECTION......in the object area.....where can it be??



Has anyone done this successfully...is my LiveCycle defective>



Thanks...Pat

Avatar

Level 7
>There is NO SUCH SELECTION......in the object area.....where can it be??



There's your problem. As Gene Hutton says and I repeated before, "You

need to delete the email submit button that was created thru the

wizard and just put a regular button on your form." So, do NOT

choose "Email Submit Button", choose "Button".



Aandi Inston

Avatar

Level 2
Pat,



In your form, do as follows:

Add a button (not the email Submit Button, just the "Button").

Set the Control type to 'Submit' (under your Object tab).

On the Submit tab (under your Object tab), add "mailto:name@domain.com" in the Submit to URL box.

Change the 'Submit As' drop down to 'PDF' (your other options are XML, XDP and FDF).

Save the form.



Zoe

Avatar

Former Community Member
I want to submit this new form as a .PDF back to an email address NOT an URL? any ideas? thanks