Submit PDF

Hi,
I have two problems with my form.
(For information, I use workbench ES)
My first problem is :
I want to send the PDF instead of XML. To do that I drop a button on my form and on the click event I write the follow script :
var mail;
var address="[email protected]";
var sub="answer";
mail="mailto: "+ address + "?subject=" + sub;
event.target.submitForm({
cURL: mail,
bEmpty: true,
CSubmitAs: "PDF",
cCharset:"utf-8"
The problem is the attached file in the email is at format "fdf" and no pdf.
My second problem :
To resolve my first problem, I use a submit button and I change in this properties the submit format with PDF. This method well work. But how validate my form with a submit button ? because the click event is not allowed.
In fact I want to validate my form with a script and if the script return true I want to send the form in PDF. With a regular button it's ok because I can choose click event but with a submit button I can't choose this event.
Thanks for any help.
Best regards.

To get around your submit problem you can add a normal button on your form. Then on the click event of the normal button execute all your scripts and the last thing would be to force the click event of the submit button (to submit the form). The following script would do that:
//From the click event of the normal button
mySubmitButton.execEvent("click");
The last thing would be to hide the submit button so people don't get confused with the two buttons.
I hope this will solve your problem.
Jasmin

Similar Messages

  • Submit pdf form data to sql database

    Where I can find detailed information on the process of sending data from pdf form stored on the website to the sql database stored on web server ?? Where I can find some samples I could use to build my form and related script(s).
    Thanks for advice.
    Tony

    Hi Paul,
    Thank you very much for your quick response. I can not retrieve your
    attachments, so please send them by email. Thank you.
    What does it mean that DSN has to be set up on each machine which will run
    the form ??? Does it mean for each person who will use the form ?? or
    rather once on the server where the form is hosted ??? It will be a bit
    difficult to use if it will have to be installed on each user computers as
    some users may not be happy to do it. If this is the case do you have any
    solution you would recommend which will collect the data from the form
    without asking users to do anything special on their computers ????
    Regards,
    Tony Pluta
    Graphics Designer
    Broadmeadow Road
    Broadmeadow NSW 2292
    Australia
    Direct: +61 2 9492 1277
    Facsimile: +61 2 9462 1383
    Mobile: +61 403 399 167
    [email protected]
    www.unitedgroupltd.com
    pguerett <[email protected]>
    22/04/2009 10:31 PM
    Please respond to
    [email protected]
    To
    Tony Pluta <[email protected]>
    cc
    Subject
    submit pdf form data to sql database
    If you want the form to contact the DB directly you will have to set up a
    DSN on each of the machines that will run the form. Note that this wil
    only work on Windows machines. Also the form must be launched for the
    script to run (you mentioned the PDF was stored on the web server). I have
    some samples that show how to deal with a DB but the attachments do not
    seem to be working correctly on the forum yet. If you cannot retrieve them
    post your email and I will email them to you directly.
    Paul

  • Submit pdf form fields data as customized template

    Hi
    Is it possible to submit pdf form fields as a customized template?
    when the form is submited, I want it to be emailed to me as text form and the form field data would be autopopulated into the text template.
    Im not sure but is this how fdf works?
    if so, how do i get my form to be submitted as fdf?
    please help.
    thanks.

    Here you go .....the 3 fields at the top are where you enter data. The allfields field is the field that creates your special format and teh submitted data field is what you woudl recieve in the email. Note that i changed th ebinding for the first three fields so that they are not included as separate items in the data file. This shoudl simplify what you recieve. I cam change the format of what is written to the allfields if you need a different distinction. In this example I hardcoded everything ....depending how many fields there are on yours i woudl use a different approach (using some complicated code) but the concept woudl be the same. I woudl find all of the fields on your form and loop through all of these objects in a for loop construct this will reduce th eamount of code dramatically and also allow you to modify the form to add or remove fields as you see fit without having to change the code.
    Make sense?
    Paul

  • Cannot submit pdf form online

    the problem seems to be that the interactive pdf form that used to open within the browser is now opening outside the browser (both IE8 and Firefox) as a temp file so I can fill it out but when I hit "save for later" or "submit" I get the adobe error "error opening url to submit this form". What setting has gotten set incorrectly? I have been using this site for years with no problem up until recently.

    the problem seems to be that the interactive pdf form that used to open within the browser is now opening outside the browser (both IE8 and Firefox) as a temp file so I can fill it out but when I hit "save for later" or "submit" I get the adobe error "error opening url to submit this form". What setting has gotten set incorrectly? I have been using this site for years with no problem up until recently.

  • Submit PDF form data IMS database.

    Hello
    I have developed a pdf form using livecycle designer and it has a submit button in it. The form is published to our organization website. What we would like to do is, when the user opens and fills up the pdf form either on web browser / or after downloading to their desktop, users should be able to post the data in the form directly into our IMS database. Our users are not connected to our organization network but just to the internet.
    I understand that we need to use a Submit button with 'Submit As' property set to XML. IMS connect is an IBM interface that would read this xml and pass the data to the database. But, what I would like to know is the architecture and how the components communicate here. i.e. for our design document.
    I am assuming that we would need to lay out these components on the diagram but not very sure of the order in which the data is flowing from client to the database.
    1. Web browser
    2. Internet Connection
    3. Webserver (this is where the org. website is and the form is located on the website)
    4. LiveCycle ES sitting on an application server?
    5. Database tier.
    Appreciate if anyone could tell me exactly the steps and the data flow.

    You cannot use a submit button to invoke a web service. You woudl create your web service to recieve a single parameter (the XML that represents the data on your form). Then create a hidden field (to hold the data) and bind the input parameter to that field. Now using a regular button, add code that will take the data that is in the data dom and dump it into your hidden field:
    HiddenFieldName.rawValue = xfa.datasets.data.saveXML("pretty")
    Make sure the your hidden field is set for multiline. Now in the next line of code we need to invoke the web service. You can use the invokeBtn supplied by the DataConenction wizard (dropped on your form of course). You can use the command:
    invokeBtn.execEvent("click");
    This will send the data in the hidden field to the web service. You can code your web service to return a string that indicates that the data was recieved. You can bind that output parameter to another hidden field. Once the web service executes then that field will hold the message string. Now you can put up a message box to the user:
    app.alert(hiddenfieldname.rawValue);
    When I talk about hidden fields I mean to make the presence invisible not hidden.
    Make sense?

  • I'm the only one who can submit PDF by e-mail!

    OK so I created this form, and I made the button to submit the PDF not the XML, and it worked great. For me.
    The e-mail recipient tells me when anyone else tries to submit the form, the button changes color but nothing else happens. No e-mail window pops up. He said he has Outlook set up as his e-mail client, same as I do. He's not using webmail.
    Of course it makes it more difficult that *I* have no problem submitting it!
    Do you know the problem? You can see the form at http://yamhill.ucsd.edu/tps/pdfs/charter_form.pdf. If you try to submit it, just put "test" in a field, maybe "did you recieve this?" It won't go to me but the recipients will tell me whether they got anything.
    I swear, they made this program WAY trickier than it should be. I hope future versions make this easier because judging from the forums, e-mail submission is a major issue for almost everyone.
    Thank goodness for this forum or I would still be at square one. So thank you in advance for your help!

    I just tried it for you and it was sent from my client but I got a message from my exchange server that the address does not exist on that system. Here is the text of the message returned form Exchange:<br /><br />Delivery has failed to these recipients or distribution lists:<br /><br />[email protected]<br />The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.<br /><br />The following organization rejected your message: outbounds6.obsmtp.com.<br /><br />Diagnostic information for administrators:<br /><br />Generating server: outbound-smtp-2.corp.adobe.com<br /><br />[email protected]<br />outbounds6.obsmtp.com #<outbounds6.obsmtp.com #5.1.1 SMTP; 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table> #SMTP#

  • Submit pdf form as HTML will attach a tmp file to email

    I all,
    I'm just trying to submit a simple pdf form as HTML but I always get a "RandomFileName.tmp" file as attachment to the resulting email.
    If I open the tmp file with a text editor I see it contains my form fields name and their related values.
    But I think the end-user has not all the knowledge to open a strange file name with a tmp extension.
    Why do this happen? is it a bug?
    I'm using Acrobat X and Thunderbird 24.0 as email client.
    Is there a simple way (I don't know javascript) to get all fields/values in the email body?
    This task should be really simple but I cannot find any usefull info on adobe website.
    TIA for any help or suggestion.
    tony

    Is there a simple way (I don't know javascript) to get all fields/values in the email body?
    This can be done with JS, and it's not too complicated, but you can't generate an email from Reader without any attachments (well, actually you can, but then the amount of data you can put in it is very limited), it has to have either the entire PDF, or a file with the form data, attached to it.

  • Adobe reader 9 - email (submit)  pdf issue

    I created a form that allows us to fill out time off requests and click submit button which attaches the pdf to an email which is sent to our secretary. She enters in the time off request and then clicks the same button to mail it back to a supervisor. However when she does it she gets asked to choose to use a desktop email client or...(some other choice I can't remember). She daily has to rechoose the option and now that she's accidentally chosen the wrong option she gets the "send pdf data as" box which only allows her to save the PDF.
    I'm finding nothing in any google searches on why this is happening or how to rectify the situation. This started happening after upgrading her to reader v.9 (no, downgrading is not an option)

    I created a short PDF form to allow people joining our non-profit to submit us their name, address , Email address before flipping over to the PayPal site to make payment. The SUBMIT function works as intended (Email message w/pdf attached to my address is brought up) on a PC running only Acrobat PRO. With another PC running only Reader 9 I receive a message that "this operation not permitted". I have tried changing the preference setting to FDF (form data only) but have not found a way to do this yet. My solution has to work for the general public using only recent Readers on their computers.

  • How to submit pdf xml data to a file server

    Hi, I am hoping someone can help me. I have created a dynamic pdf in livecycle designer ES, which appears as the requester wants it to. I now just need to work out how to collect the submitted data. Is it possible to submit the xml data to a file server? I have succeeded in emailing the data, but each response is separate xml attachment and would then need to collated, etc. It would be preferable to submit the data directly to a file server if this is possible. Even if it submitted into a database or something. From everything I have read so far, it seems that this is not possible, unless I am missing something. As a newbie to this, any assistance would be much appreciated. Thank you.

    You can submit the data as XML or URL-encoded data (HTTP POST). In either case you will need to have a server-side process to receive and parse the data stream. The server-side process may be a JSP, a servlet, PHP or any technology that can manage HTTP requests/responses.
    See About submitting data using a button at http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000330.html .
    Steve

  • Submit PDF form to multiple email addresses

    How do I submit a PDF form to mutliple emal addresses

    There are a few ways to do this. 
    Set up E-mail Notifications and to enable the "Include submitted data" option.  (E-mail Notifications settings are in the Options tab)
    Share the responses by making the other person a Co-author, Contributor or Reader.  The differences in account levels are explained here.
    Share the repsonses by using Publish Responses feature.  This will allow you to send out a URL that will display the View Responses and/or the Summary Report to anyone that has your URL.  Further details are here.
    -Jeff

  • Submit PDF form as attachment

    I am having a problem with getting my form to submit as an attachment once the submit button is clicked.
    What I envision happening is , a form is completed on line from my website,  the user click the SUBMIT button,
    the email box opens , receipent address is automatically prefilled , the form is attached and is sent.
    I created the SUBMIT button and selected "PDF the complete dcoument" option in the Submit Form Selections properties.
    When I tested it the PDF form doesnot attach.
    Can anyone  enlighten me on what I am missing.
    Thanks

    Do not use the PDF complete document for a web form. You are under license restrictions when you do that and web forms often will lead to a violation of those restrictions. The restriction comes because you have to activate User Rights on the form so folks with Reader can save the form for submission. The save process is not needed if the data is submitted and you are typically submitting a much smaller file. The data file can be imported to the original form and so you will have the same results as the customer.
    Be careful with email submission for both client problems with e-mail submission (you have no control over this) and the lack of security if sensitive data is included. You should definitely not include credit card numbers or related info.

  • Submit PDF form data to URL without submit button

    Our client use LiveCycle Designer to design PDF forms. We've an ASP.Net Web form application, where they want us to embed the PDF form as part of our Data Entry Form. The Entry form has a Save button. And we want to save all the entry form entries (including the PDF form) in the Save button click.
    The client PC will have adobe reader installed, so I guess we can embed the PDF form easily. I know PDF form can have Submit button and can submit data (XML) to a URL. But client does not want to place a separate Submit button in the PDF as the entry form has a "Save" button.
    Do you have any suggestion? If I'm posting in wrong place or an already answered question I apologize earnestly and please guide me.

    Check out the following:
    http://www.nk-inc.com/software/fdftoolkit.net/examples/
    You can download the open source edition for free:
    http://fdftoolkit.codeplex.com
    Or search for itextsharp on your favorite search engine
    Note: If you are able to use Static XFA forms or Acrobat PDFs you are able to parse and merge the submissions. If you are saving "Save As" a dynamic XFA PDF in LiveCycle, then your options are limited.

  • Submit PDF data to servlet

    Hiii
    I am new to LiveCycle Desiger suite. I have created a form using live cycle .When user fill the form , i want this info to pass servlet
    End users are using Adobe reader 8 and above. Can it possible??
    How to submit this pdf data to servlet??
    Plz guide
    Thanks

    hiii
    Bamboomania and paul
    Thanks friends,
    I have also added some javascript in PDF.
    I pass some parameters throgh url to PDF and then display this parameters in PDF fields .
    Javascript is as follows :
    var
    sURL = event.target.URL;
    var
    nRequestStart = sURL.indexOf("?");
    if
    (nRequestStart > 0) {
    var sRequest = sURL.substr(nRequestStart + 1);this.rawValue
    = sRequest; 
    var aRequests = new Array();aRequests
    = sRequest.split("?"); this.rawValue
    =decodeURI(decodeURIComponent(aRequests[0].substr(7)));}
    This code work well in adobe reader and acrobat also (some user use acobat).
    but now when I user this  HTTP button , form works well in abode reader
    but show soem alert message in acrobat 7.0 pro such as
    Invalide enumerated value:urlencoded
    The fault occurred on line 626
    After this message pdf get open , but submit only null values to servlet.
    Is that required any onther settings on abode acrobat ??
    Thanks

  • Submit PDF Data via SOAP

    Situation:
    Write a PDF out to a public share.
    Email the location reference to a user.
    Allow the person to add their data to the form.
    Allow the person to submit.
    I would like to submit the data to a workflow process.
    From what I have read, a lot of people indicate this is done by writing a web service that acts as a proxy to the actual workflow process. Is that really the best/easiest way?
    I know that LiveCycle exposes the WSDL for any workflow process that is written. Is there a way to call that directly without the proxy?
    I know you can set up a Data Connection on a form. Is that the best way?
    Can I simply but the end point of the LiveCycle SOAP endpoint in the "Submit To Url" field of a Submit button?
    Any words of wisdom?

    There are six different ways to initiate a workflow process. 3 are created automatically when the process is activated and 3 require you to build an endpoint.
    1. Automatic endpoint - Data Services - you could submit the data to a servlet or other such program and in turn have it call Data Services to start the process.
    2. Automatic endpoint - EJB interface - submit the data to a servlet and have it call the EJB interface to start the process.
    3. Automatic endpoint - Web Service interface - same as above but use the SOAP interface instead. You could also have the form call the SOAP interface directly but there will be some work required on the form to get the contents of the form to submit via SOAP.
    4. Endpoint requires config - Watched folder - you can save out the data to a shared network drive. That drive is monitored by Livecycle and your process is kicked off when a file is dropped into that folder.
    5. Endpoint requires config - Email endpoint - same as #4 except email is used and not a folder.
    6. Endpoint requires config - TaskManager endpoint - make use of workspace to have the user choose the process to start and the data is submitted to the process automatically.

  • Submit pdf to web service as xml

    I want to do the following:
    a) Create a pdf form that the user can fill out and save using their laptop.
    b) The user goes back to the office, opens the pdf, and clicks a submit button.
    c) The submit button contacts a web service (that I will write) and submits the xml from the pdf so that the information they filled in gets submitted to my web service. From there I will do whatever I need to with the xml, I just need to get it there.
    Here are my questions:
    1) It looks like I can do this using Acrobat Pro by clicking the "Extend Features in Adobe Reader". Is this true or do I need LiveCycle?
    2) Is their a white paper, tutorial, or some sample code that someone can point me to? This sounds very simple but I'm having difficulty finding any documentation that actually describes the process that's not 5 years old.
    TIA,
    Greg

    If you are only going to use the Reader Enablement features available when using Acrobat (and NOT LiveCycle), then you can ONLY post data (XML or otherwise) to a server via standard HTTP POST. SOAP support is ONLY enabled for Reader when using LiveCycle...

Maybe you are looking for

  • Problem Related To Creation of Schima Group?

    Hi All, I want to create new schima group, Can Anybody tell me how to create new Schima group?

  • Run time binding of textfields and the like

    Hi, I am working on a dynamic form,which will instantiate questions based on some instructions specified in XML when the form loads up, much like John Brinkman's example http://blogs.adobe.com/formfeed/2009/03/a_form_to_design_a_form.html At design t

  • Quicktime Export Fails to Recognize Audio in MPG1 files

    When exporting MPEG1 to any other format with QT Pro, audio options are greyed out ('No Audio in Original'), and, predictably, the export file has no audio. VisualHub exports MPEG1 with audio just fine. But I've paid for QT Pro, and not VisualHub. Th

  • Deletion of longtext in maintenance orders

    Hi gurus, Can any body tell me how to delete the  longtext in maintenance orders. Thanks in advance. Regards Shanmuga satish

  • Not Taking screen shots

    Hi, i have a mac mini, and a third party keyboard. whenever i try to take a screenshot, nothing happens. the keyboard is connected to a hub. does anyone know what to do? i have tried to connect it directly to the mac, but it doesn't help.