16 Replies Latest reply on Dec 14, 2010 2:51 PM by IILIonline

    Unable to collect form in PDF form

    IILIonline Level 1

      Hello,

      I have created a fillable form using Live Cycle Designer. But when it comes to collecting the form data, after receiving the data in XML (as an email attachment), I am unable to open it as PDF. I have tried changing the default program to open xml files to Adobe Live Cycle Designer, but the program prompts me a window called "File Import Options". The file type by default in this window is "XForms Document".  When I click ok, it gives me a "main error 47" with a long list of runtime errors.

       

      Is there a way I can set this up when creating and saving the form?

      I greatly appreciate your feedback.

      Best

      IILIonline

        • 1. Re: Unable to collect form in PDF form
          pguerett Level 6

          If you want to continue to recieve the XMLdata you woul dhave to open a blank form then use the Form./ImportData option

          to merge the data into your form.

           

          Why don't you simply set up your form to submit PDF then you woudl have everything you need?

           

          Paul

          1 person found this helpful
          • 2. Re: Unable to collect form in PDF form
            IILIonline Level 1

            Hi Paul,

             

            I greatly appreciate your feedback. When I created the form, I was thinking about having everything in PDF (was not expecting XML, a language I'm not familiar with). How can I set the form to submit in PDF? I'm noticing that there are different kinds of PDFs (static/dynamic...) and would like to know if it's at the "Save As" level or at the "Create New" level where I actually set that up. I thank you for your suggestions and for your patience.

             

            Nash

            • 3. Re: Unable to collect form in PDF form
              IILIonline Level 1

              Hi Paul,

               

              I greatly appreciate your feedback. When I created the form, I was thinking about having everything in PDF (was not expecting XML, a language I'm not familiar with). How can I set the form to submit in PDF? I'm noticing that there are different kinds of PDFs (static/dynamic...) and would like to know if it's at the "Save As" level or at the "Create New" level where I actually set that up. I thank you for your suggestions and for your patience.

               

              Nash

              • 4. Re: Unable to collect form in PDF form
                IILIonline Level 1

                Hi Paul,

                 

                I greatly appreciate your feedback. When I created the form, I was thinking about having everything in PDF (was not expecting XML, a language I'm not familiar with). How can I set the form to submit in PDF? I'm noticing that there are different kinds of PDFs (static/dynamic...) and would like to know if it's at the "Save As" level or at the "Create New" level where I actually set that up. I thank you for your suggestions and for your patience.

                 

                Nash

                • 5. Re: Unable to collect form in PDF form
                  pguerett Level 6

                  The type of submission is controlled by a property on the submit button. The saveAs will allow you to save either a PDF or an XDP (native template format).

                   

                  Paul

                  1 person found this helpful
                  • 6. Re: Unable to collect form in PDF form
                    IILIonline Level 1

                    Hi Paul,

                     

                    I greatly appreciate your feedback. When I created the form, I was thinking about having everything in PDF (was not expecting XML, a language I'm not familiar with). How can I set the form to submit in PDF? I'm noticing that there are different kinds of PDFs (static/dynamic...) and would like to know if it's at the "Save As" level or at the "Create New" level where I actually set that up. I thank you for your suggestions and for your patience.

                     

                    Nash

                    • 7. Re: Unable to collect form in PDF form
                      IILIonline Level 1

                      Hello Scott,

                       

                      I am trying to locate the Submit As list in order to select PDF. I have the form on the left with the "Email Submit" button hightlighted and on the right, the Object and Layout palettes. I can only see the Field tab under the Object palette, but not the Submit tab. How can I view the Submit tab in order to see the "Submit As" button? I am almost there! Thank you.

                       

                      Nash

                      • 8. Re: Unable to collect form in PDF form
                        IILIonline Level 1

                        Hi Paul (sorry for calling you Scott earlier), I can see the "Submit Tab" button by selecting the standard "Button" field (instead of the "Submit Email" field. I'm trying to make this button to work as a "Email Submit" button, so if I select "PDF" as my "Submit As" choice and enter an email address at the "Submit to URL" section, will it send the form to that email address?  Thank you very much.

                         

                        Nash

                        • 9. Re: Unable to collect form in PDF form
                          pguerett Level 6

                          Sorry for not responding earlier ...stuck in transit.

                           

                          Yes you woudl use a regular button set set to a submit button, then in the submit URL you woudl use mailto:emailaddress

                           

                          To be able to submit the PDF from Reader you will have to Reader Extend the file to allow for a local save. This can be done in Acrobat if you do not have the Reader Extensions product.

                           

                           

                          Paul

                          • 10. Re: Unable to collect form in PDF form
                            IILIonline Level 1

                            Hello Paul,

                             

                            I got it to work! Thank you very much, you have been very helpful. I only have one more question, let me know if I should create a new forum for it:

                             

                            I would like to create a button that will let the subscriber know that he/she has successfully filled and submitted the form.

                             

                            OR

                             

                            A button that will take the person back to our website to continue navigation. A button I would place next to the submit button.

                             

                            Is there a button that can do either function?

                             

                            Thank you very much.

                             

                            Nash

                            • 11. Re: Unable to collect form in PDF form
                              pguerett Level 6

                              Hmmmm - you are submitting a form through email ....we could put a message into the post submit event that woudl put u[ an artificial message (Thanks for your submission)....but there is no way to tell that the actual email is sent (that is in the email clients hands). As far as linking to another page you could use the xfa.host.gotoURL("address you want to goto") command to get you to another web page.

                               

                              Paul

                              • 12. Re: Unable to collect form in PDF form
                                IILIonline Level 1

                                Hi  Paul,

                                 

                                Thank  you for your reply. Where  do I go to access the post submit event in order  to add the message? What kind of button do I select?

                                 

                                I   like idea of sending the user back to our  website by using xfa.host.gotoURL("address   you want to goto").  I found the script editor and added that script to the button (regular). My question is, what do I select on Show?  Initialize, Enter, Exit, Calculate or Validate?


                                 

                                Please  forgive my ignorance : ) Thank  you.

                                 

                                Nash

                                • 13. Re: Unable to collect form in PDF form
                                  pguerett Level 6

                                  Click on the submit button. In the script editor (top of the page) choose the event you want to write code against (in your case the postSubmit event). This is in the Show dropdown. On the right side make sure the language is set to Javascript.

                                   

                                  Now on the 1st available line in the script editor write this code:

                                   

                                  app.alert("Message you want to display to your user!");

                                  xfa.host.gotoURL("http://address of the page you want to go to");

                                   

                                  Now when the user presses the button the email will be kicked off and when it is finished handing it off to the email client the postSubmit event will fire and your code will be executed.

                                   

                                  Paul

                                  • 14. Re: Unable to collect form in PDF form
                                    IILIonline Level 1

                                    Just perfect! There was no option for postSubmit, so I picked postSave (I have set up the form to be "savable"), so that may be why.  If it must be postSubmit, let me know how to incorporate it in the "Show" menu.  But otherwise, it works wonderfully!

                                    Thank you so much Paul, you have been very patient and helpful with me.

                                     

                                    Best,

                                     

                                    Nash

                                    • 15. Re: Unable to collect form in PDF form
                                      pguerett Level 6

                                      post Submit was added in later releases. You may be targetting an earlier version than me. If you are happy with post save then that will work with all versions.

                                       

                                      Paul

                                      • 16. Re: Unable to collect form in PDF form
                                        IILIonline Level 1

                                        Awesome! Thank you Paul!

                                        n