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?

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 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.

  • How do I submit PDF Form data as an XML file rather than as an XFDF file?

    Can anyone tell me what I need to do to make this statement work?
    var cSubLine = this.getField("SurnameInits").value;
    var cBody1 = "Main Instruction data file attached";
    var cDest = this.getField("DestEmail").value;
    var cEmailURL = "mailto:" + cDest + "?subject=" + cSubLine + "&body=" + cBody1;
    this.submitForm({cURL: cEmailURL, cSubmitAs: "XML"});
    No file is attached the email that is generated so I assume there is something wrong with the submitForm parameters...If I change XML to XFDF, it works fine.

    Try this...
    this.submitForm({cURL: cEmailURL, cSubmitAs:"XML", cCharSet:"utf-8"});

  • 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

  • Exporting pdf form data to a web server via Submit Button

    Hi
    I am working on a project where a pdf form is dynamically filled by user information. So, when the user click Print Application on the web, it will create a pdf with form data and download to the user computer.
    After that, users will have to add more data (since not all user data is captured). Then, after that I'll want user to hit the Submit button so that the filled pdf form is exported as an xml file to a folder on the web server.
    I've been looking at the forum. There is a solution where I add a submit button on the form and add a submit form action with the link to localhost since I'm trying to test it out on my local server. But I keep getting the security certificate exception. I'm using Adobe Acrobat Pro 9.0.0. , Max OS x and Firefox. My question is that is there a way for user to just click submit button and the pdf is exported as xml to the server? Does it require additional scripting language?

    HI again,
    I want to have a pdf fillable form opened on a link.Once user has entered data, the user clicks a button(or some action to invoke saving). At this point I want the filled pdf file to be saved on a certain directory.
    How can save a filled pdf form in pdf format on a certain directory?
    Is it possible to dynamically give the final pdf a name so that it doesnt overwrite everytime it saves the file?

  • Populating a pdf form from a database

    There seems to be a lot of information on the forum that skirts around this problem, but so far everything I've tried falls short.
    <br />
    <br />I have a pdf form that can be filled out via a browser (the web server is Win2k and IIS.
    <br />
    <br />I can fill out this form and use an http submit button to send it to a .asp url where a vbscript program captures the data and creates a record in a sql server table.
    <br />
    <br />What I want to be able to do is call up that pdf form and populate it with the data from a specific record from the table - again using .asp and vbscript. The following code brings up the form, but does not fill in the fields. Is what I want to do possible and if so can someone help?
    <br />
    <br />Thanks.
    <br />
    <br />Dave Space
    <br />
    <br /><%@ LANGUAGE = VBScript%>
    <br />
    <!--#include virtual="/Common/adovbs.inc"-->
    <br /><%<br />On Error Resume Next<br />TableName = Request.Form("TableName")<br />Set Conn = Server.CreateObject("ADODB.Connection")<br />Conn.Open "Database=fff;DSN=fff;UID=myuid;Password=mypass"<br />Set RS = Server.CreateObject("ADODB.Recordset")<br />RS.CursorLocation = adUseServer<br />RS.CursorType = adOpenKeyset<br />RS.LockType = adLockOptimistic<br />RS.Open "Select * from iacuc where id = 4", Conn, , , adCmdText<br />Response.ContentType = "application/vnd.adobe.xdp+xml" <br />Response.Write "<?xml version=""1.0"" encoding=""UTF-8""?>" <br />Response.Write "<?xfa generator=""XFA2_0"" APIVersion=""2.2.5028.0""?>" <br />Response.Write "<xdp:xdp xmlns:xdp=""http://ns.adobe.com/xdp/"">" <br />Response.Write "<xfa:datasets xmlns:xfa=""http://www.xfa.org/schema/xfa-data/1.0/"">" <br />Response.Write "<xfa:data>" <br />Response.Write "<form1>" <br />For Each item in RS.Fields<br /> If InStr("IPADDR ID", uCase(item.name)) = 0 Then<br />  Response.Write("<"&item.name&">"&item.value&"</"&item.name&">")<br /> End If<br />Next<br />RS.Close<br />set RS = nothing<br />Conn.Close<br />Set Conn = Nothing<br />Response.Write "</form1>" <br />Response.Write "</xfa:data>" <br />Response.Write "</xfa:datasets>" <br />Response.Write "<pdf href=""http://aaa.bbb.edu/pdf_forms/aaa.pdf"" xmlns=""http://ns.adobe.com/xdp/pdf/"" />" <br />Response.Write "</xdp:xdp>" <br />Response.Flush <br />Response.End <br />%>

    David,<br /><br />Can you try to loop through your recordset before doing any of the Response.Write(). Save the the output in a string called "mystring" and output it at the end? So it would look something like this:<br /><br />Response.ContentType = "application/vnd.adobe.xdp+xml" <br />Response.Write "<?xml version=""1.0"" encoding=""UTF-8""?>" <br />Response.Write "<?xfa generator=""XFA2_0"" APIVersion=""2.2.5028.0""?>" <br />Response.Write "<xdp:xdp xmlns:xdp=""http://ns.adobe.com/xdp/"">" <br />Response.Write "<xfa:datasets xmlns:xfa=""http://www.xfa.org/schema/xfa-data/1.0/"">" <br />Response.Write "<xfa:data>" <br />Response.Write "<form1>" <br />Response.Write(mystring)<br />Response.Write "</form1>" <br />Response.Write "</xfa:data>" <br />Response.Write "</xfa:datasets>" <br />Response.Write "<pdf href=""http://aaa.bbb.edu/pdf_forms/aaa.pdf"" xmlns=""http://ns.adobe.com/xdp/pdf/"" />" <br />Response.Write "</xdp:xdp>" <br />Response.Flush <br />Response.End <br />%><br /><br />Can you tell me what is your "mystring" look like? See if you get a different result?

  • Submit PDF form

    I have created a PDF form by using Adobe LiveCycle Designer 8. Now i want to get data from pdf & insert into database(first user login & then insert data of particular user).
    i tried by simple button (with control type: submit) & HTTP Submit Button, when i am clicking on button login jsp open (specified in URL) in adobe acrobat professionl not in internet explorer browser why this happen?
    is this possible with using buttons & how i get data at server site?
    if any other good way for my requirement please post here.

    Linda,
    Reader cannot save data in forms without being enabled by Acrobat 8 or
    9. They cannot submit back a form you create via email. The best way to
    handle the issue is to post the form a the net and have the data sent
    back to you. This has to be scripted on the server side. Even if you
    upgraded to Acrobat 8 or 9, they cannot send back the form to you
    automatically if they are not using a supported mail program or if they
    perform their mail based tasks in a browser. Which is why for
    reliability the form needs to be hosted on the net.
    Mike

  • Merge pdf form data to an ASP page via HTTP

    I am using Adobe LiveCycle.
    Using LiveCycle has anyone been able to collect data from a PDF form posted on their web page, submit via submit button, that data to an ASP page and use the ASP page to do record manipulation.
    I have successfully created a PDF page and collected the data with JavaScript and updated the database. I'm looking for an alternative solution.

    Hi Robert,
    I am trying to design form to interact with an ODBC.
    Do you have any working example that uses following methods?
    xfa.sourceSet.DataConnection1.addNew();
    xfa.sourceSet.DataConnection1.update();
    xfa.sourceSet.DataConnection1.delete();

  • Load interactive pdf with data from database

    I am trying to understand our options for loading database data into an interactive pdf..?   Some of the data is not stored in the database and needs to be manually entered by the user in the interactive pdf.
    Here is the interactive pdf I'm working with:
    http://www.dcma.mil/dcman/NPP/files/dd1149.pdf
    As I understand it, there are 2 options:
    1.  Create an xml file from the database data.   Users can manually import this xml file into this existing interactive pdf and then manually add the additional data, and save the interactive pdf.
    Would users need to use Adobe acrobat Standard or Pro edition to import the xml data?
    2.  Create a XFA PDF form that's made with LiveCycle Designer.   Can this method create an interactive pdf so that users can enter additional data later and save the pdf?  
       What adobe products are required to use this method?
    thanks for any assistance..
    -D

    Yes,using LiveCycle you could accomplish this easily.Once you have your invoice form ready based on predefined XSD, you can easily update the form data by fetching the values from database using JDBC operation.Also you could email this updated form using Email service.
    Thanks,
    Wasil

  • 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.

  • Submitted PDF form data are empty

    I created a simple PDF form using Acrobat X Pro that containing one textbox ("txtName") and one button ("btnSubmit"). The button's action is set to "Submit a form" and the URL is set to an asp.net generic handler ("PdfFormHandler.ashx").
    When I open the PDF in browser and fill in the textbox and click on submit button, the form submitted. But on the server side, "txtName" is always empty. There are no errors but just missing the submitted data. the server side code is:
    public class PdfFormHandler : IHttpHandler
        public void ProcessRequest(HttpContext context)
            if (context.Request.RequestType == "POST")
                var name = context.Request.Form["txtName"];
                context.Response.ContentType = "text/plain";
                context.Response.Write("Hello " + name);
        public bool IsReusable
            get
                return false;
    I should see "Hello " and then a name. But since it's not able to retrieve "txtName", it only prints "Hello".
    i found what the problem is and i posted the answer here. http://stackoverflow.com/questions/10885969/adobe-pdf-form-submitted-but-request-form-coll ection-is-empty

    You could try first flattenening the fields. This converts the field appearances to regular page contents. You can do this with JavaScript, PDF Optimizer, or a Preflight fixup.

  • Programmatically filling in fields of an interactive PDF form from a database

    I have a web app written in Grails, but it doesn't matter. I ask is there possible way to send the data from database into the the third party interactive PDF form? If yes, what tools from Adobe I would need to make this kind of web app plugin? Is it possible to view Javascript code of once made PDF?

    You can simply create an FDF or XFDF file and return that to the browser.

  • 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

Maybe you are looking for

  • Forms 6i prints ugly when using the Forms print command from the menu

    When we use the Oracle Forms print built-in to print the screen-shots, the print-out turns out to be ugly with lots of dots all over. We are using Forms 6i (6.0.8.11.3) running on 9iAS on Windows 2000. The version of JInitiator we are using is 1.1.7.

  • 100% height not working in Internet Explorer

    I'm using the following CSS code to have a verticle div tag stretch down the left side: }#leftbar { background-color: #2E4A72; height: 100%; width: 180px; border-right-width: 1px; border-right-style: solid; border-right-color: #FFFFFF; position: abso

  • E Recruiting HRRCF_CANDIDATE_PREVIEW'- Candidate data overview form

    Hi I have copied the standard candidate overview screen u2018HRRCF_CANDIDATE_PREVIEWu2019 and created two forms i.e. one for internal and the other for external. The reason is due to adding the 2 additional fieds for the Internal Candidates  I think

  • Adobe premiere cc

    I can't start adobe premiere cc after installing

  • During VAT on sales and purchases

    Dear sap helpers, user posted vat data for 1000 business transacations but while prepare advance tax return system is showing out of 1000 bt's for 10 business transactions calculated vat manually and calculated different. say ex:base amount-1000/- @1