Submit FDF Form Data to Web

Is it possible to program a form to send certain fields to a spreadsheet housed on a website upon submitting?
I have created a simple spreadsheet with order number, change amount, and customer name.  When sales submits this form to the person entering the order, I would like this information to be sent to my spreadsheet.  I thought, if I added a submit button to the form and directed the fdf file to this spreadsheet, that would work.  However, everytime I try to test it, I get a "general error" and it displays the web address for my spreadsheet.  What am I doing wrong, or is there a better way to accomplish this goal?

Unfortunately, I don't believe my IT department will allow me to do any programming with our web server. 
The form is currently set up, so that the salesman just e-mails the entire pdf file to the person entering the orders.  I would like to keep that part in tact, and just add some programming or something that will send just the data to either a web page, or even a different mailbox.  Is it possible to have the form e-mail the pdf file to one person and a csv file to another person?  I just want to get a minimal amount of the data in one location, so that I can easily move it to an Access database.

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

  • How to submit a form in a web

    Hi, it's my first post in this forum and it's for asking a very rough problem.
    I want to log in a web which uses a form to authenticate. The page is: https://cv2008.uab.cat. I want that my program in java logs in and retrieves information from it (e.g. downloading a file). I've been studying the form and it uses POST method and requires to fill the username and password fields. Moreover I've found something interesting in the form:
    <input type="hidden" name="lt" value="_c23CA00BA-41D7-8934-6F3E-D754BD70ECBE_kAAFD1C38-B06B-2F6E-776D-92949E17286F" />
                                  <input type="hidden" name="_eventId" value="submit" />
    but I don't know what to do with it.
    Well, about the app, I've been trying to use common httpclient and the.net libs but I couldn't log in.
    Here is my last try:
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.NameValuePair;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class HttpClientTutorial {
        public static void main(String[] args){
             HttpClient client = new HttpClient();     
             String response = null;
             PostMethod authPost = new PostMethod("https://sac.uab.cat/login?service=https://cv2008.uab.cat/home/");
             NameValuePair[] data = {
                       new NameValuePair("username", "MY_USER"),
                       new NameValuePair("password", "MY_PASS"),
                       new NameValuePair("lt", "_c23CA00BA-41D7-8934-6F3E-D754BD70ECBE_kAAFD1C38-B06B-2F6E-776D-92949E17286F"), 
                       new NameValuePair("_eventId", "submit"), 
                       new NameValuePair("submit","submit")
             authPost.setRequestBody(data);
             try {
                  client.executeMethod(authPost); 
                  response = authPost.getResponseBodyAsString();
                  System.out.println(authPost.getStatusCode());
             catch(Exception e)
                  System.out.println("Error");
             authPost.releaseConnection();
             System.out.println(response);
    }I'd appreciate any help, thank you!
    Kits

    Hey malcolmmc,
    you were right, that eventId field changes every time I make a client.executemethod(authPost); the problem is that I need to do it to retrieve the value of that field but after I make the authPost.setRequestBody(data); with the information to fill the form, I need to execute the method again and then the value has changed again. So, I need to retrieve the value and "without closing that session" send the form. But I don't know how to do it, I think I'm very close to achieve it 'though!
    My code rightnow is:
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.NameValuePair;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class HttpClientTutorial {
         public static String search_lt(String content) {
             String ltValue = "";
             String lt = "lt\" value=\"";
             int i = 0;
             boolean foundIt = false;         
             int max = content.length() - lt.length();
             test:
                 for(i = 0; i <= max; i++) {
                     int n = lt.length();
                     int j = i;
                     int k = 0;
                     while (n-- != 0) {
                         if (content.charAt(j++)
                                 != lt.charAt(k++)) {
                             continue test;
                     foundIt = true;
                          break test;
              if (foundIt == true)
                   i = i + lt.length();                   
                   while (content.charAt(i) != '\"') {
                        ltValue = ltValue + content.charAt(i);
                        i++;
              else
                   System.out.println("Not Found.");
              return ltValue;
        public static void main(String[] args){
             String response, ltValue;
             HttpClient client = new HttpClient();          
             PostMethod authPost = new PostMethod("https://sac.uab.cat/login?service=https://cv2008.uab.cat/sessioCAS/usuari.jsp");
            try {
                 response = authPost.getResponseBodyAsString();
                 ltValue = search_lt(response);
                  NameValuePair[] data = {
                            new NameValuePair("username", "MY_USER"),
                            new NameValuePair("password", "MY_PASS"),
                            new NameValuePair("lt", ltValue), 
                            new NameValuePair("_eventId", "submit"), 
                            new NameValuePair("submit","INICIAR SESSIÓ")
                  authPost.setRequestBody(data);
                  client.executeMethod(authPost); 
                  response = authPost.getResponseBodyAsString();
                  ltValue = search_lt(response);
                  System.out.println(authPost.getStatusCode());
                  authPost.releaseConnection();
                 System.out.println(response);
            catch(Exception e) {
                 System.out.println("Error");
    }{code}
    Thank you for the help!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

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

  • How to open a new web browser after posting form data to web server ?

    Hi Experts,
    I am using NetBeans 6.5 and I am able to post data to web server using httpconnect and i am also able to open default browser on my mobile using platformRequest(url).
    But what I am trying to do is that: i want to post data (not get method) to my ASP web page and then I want my web page opens in my mobile default browser keeping my post data. Shortly I want to open my ASP page in a new browser passing some parameters from midlet using POST method (not GET)
    Thanks for all kind help...

    [url http://ostermiller.org/utils/Browser.java.html]This code seems to use a temporary page that uses javascript to open a new window. Haven't tried it though.

  • 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 to submit InfoPath form data to multiple SharePoint lists at one time?

    Hi,
    I'm looking for a way to submit certain data in InfoPath form to separate SharePoint lists at the same time. I have a form that has two views with many data in them. I want to keep these data in separate SharePoint list besides keeping them in the XML. I know that you can submit to a form library using SharePoint document library data connection, but I'm not sure if you can use several data connections for submitting data to multiple SharePoint lists. Is it only possible to do using code? If yes, can anyone show a sample. I have never coded in InfoPath, though I used C# a lot in .Net.
    Thank you!Regards,
    R.D.M.

    This is an old thread but I tripped over a codeless method to do this with OOB InfoPath 2010 and SP 2010. 
    Assuming your main InfoPath form is published to a document library with the promoted fields that you want to see.
      Publish your form to a new document library to capture the secondary data fields that you want separated out.
    Using the Publishing Wizard do the following:
    Go to – File then Publish
    Select SharePoint Server “ Publish form to a SharePoint Library”
    Enter location of your SharePoint or InfoPath Forms Services Site: 
    accept the default in this field from the first published event
    Next screen, keep the default or change it, Form Library, Site Content Type or Admin Approved
    Next screen, What do you want to do?
    Create a new form library
    Add new document library name and description
    Next screen, Remove all promoted fields not applicable to the new library and add all of the ones you want to see data for.
    Click Next and Publish
    Come back into the form: If you don’t have buttons added directly to the form to submit or update, add them.
    Create a new Action rule on the button
    Label the rule to keep it straight
    Condition, occurs when button clicked
    Add action, Submit data
    Use data connection to the second library created
    Create a second new Action rule on the same button
    Label the rule to keep it straight
    Condition, occurs when button clicked
    Add action, Submit data
    Use original data connection to the library
    Then you can add another action to close the form or do whatever you need.
    Republish the form to both libraries to set the template for both.
    File – Publish – SharePoint Server
    Select Secondary library from drop down follow the rest of the prompts
    Follow step 5a again, select Primary library from drop down, Add back in all of the promoted fields needed for the primary library and follow the prompts.
    DOCUMENT YOUR FORM WELL FOR MAINTENANCE
    Special considerations, your primary library needs a unique ID to reference in your secondary library.
    Your secondary library will need a unique ID that is not related to the primary if you are going to store multiple records for a single primary library reference. 
    Example: One form, multiple updates.

  • Pass form data through web service to session bean

    Hello,
    i want to create an insert in a database table using a web dynpros that call my method createEntry i a sessionbean. The sessionbean is ok, it worked with a jsp.
    My Problem:
    The inputfields of my form are blocked so that i cannot insert the values. This problem only occurs if i bind the inputfields to the attributes of my web service in the view context.
    What i already did:
    I defined a web service in my EJB Module Project.
    I imported this model into my web dynpro.
    I bound the elements of the web service into the custom controller.
    I bound the elements from the custom controller to my view context.
    I did not bind the result of the web service in any way because i do not need it.
    Did i miss something i had to do?
    Thanks for help or any advices, it is my first time using a web service and i already tried to get along with the CarRental and the Email example.
    André

    Hi,
    I think you problem is not a Web Service but the fact that Model Context Elements are not created automatically.
    >I bound the elements of the web service into the custom >controller.
    You made a binding but here you should <b>create</b> the elemnts itself wich means:
    1. Create the instance of the element for you cotext node.
    2. Call wdContext.node<You Context Name>.bind(<instance created in previous step>
    This step is the same as for RFC Model so if you fill that my explanation is not clear enought go to Adptive RFC Model tutorial (calling BAPI_FLIGHT_GET_LIST) and see the code in wdDoInit() method.
    Hope it helps.
    Victor

  • 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"});

  • Android mobile does not work with submit fdf format

    I want to gather data by mobile device (Android) as JavaScript does not work well in this environment, I intend importing the gathered data into a report PDF form with JavaScript functions etc., however the Acrobat mobile reader does not appear to work with the submit function for sending data (FDF format) by E Mail.
    We are using Acrobat XI in most cases to gather this data and this works well, however we are experimenting with mobile options which are very limiting, and therefore we thought by just gathering the data on a mobile device we could import it into our working windows pdf form, our trials using this concept in a windows environment work, but we stumbled once we found that the submit button does not work in the android reader to send the FDF data.
    Does anyone know of a work around?
    Regards Mike

    FormsCentral can be a bit confusing, so I'll try to clarify some things. It allows you to work with two completely different types of forms: web forms and PDF forms. Web forms are HTML forms and are hosted on the FormsCentral server and loaded into and submitted via the user's browser, so web forms do require internet access.
    FormsCentral can also process submissions from PDF forms, and the forms can either originate from Acrobat or the FormsCentral designer, either the desktop app that comes with Acrobat 11 or the browser-based app. The FormsCentral designer allows you to create PDF forms with simple layouts, whereas Acrobat gives you much more flexibility. Designing a PDF form in FormsCentral can be helpful if you want to be able to use the same form for both a web form and a PDF form, allowing to to take advantage of each type at the same time, but you are not limited to PDF forms that are created by the FormsCentral designer.
    Regardless of how the PDF was created, it can be set up to submit the form data to the FormsCentral server, which is done using the same format as a web form. It is done securely using HTTPS. There are certain features that are supported with PDF forms that aren't supported by FormsCentral, but this is usually not a problem. The most significant limitation is the 500 field limitation, so some larger forms aren't possible.
    Once you have a PDF form created in Acrobat, you simply import it into FormsCentral and it gets uploaded to the FormsCentral server, where it is Reader-enabled, a submit button is automatically added, and is then downloaded so you can distribute it by placing it on your web site, sending by email, etc. So unlike web forms, FormsCentral does not host them for you.
    It is possible to use Acrobat to modify the PDF that you download, first by selecting in Acrobat "File > Save a Copy", opening the copy, and making the changes. This is often done to change the submit button (size, location, other properties) of the submit button that gets added. You can then Reader-enable in Acrobat if needed and distribute the form.
    Since it's a normal PDF form that is Reader-enabled, Reader users will be able to open it, fill it in, and save it at any time using Reader for Windows/Mac or Reader for Android/iOS. The latter currently only support submitting via email or to FormsCentral, as opposed to your own web server. Once the user has access to the internet, they can open the form and press the submit button. If the submit is successful, the FormsCentral server returns a response so the user gets some feedback, unlike with email "submits".
    Each submission is automatically stored in the responses table, which you and team members can view at any time. An individual response can be downloaded as a filled-in PDF, or you can download the entire table and import the data into a spreadsheet for further analysis. As mentioned earlier, you can set it up so that you and others can receive an email for each submission, and it can include the form data in the body of the email if wanted.
    Post again if you have any questions, or go to the FormsCentral forum here. The forum is generally very good, but sometimes questions about PDF forms are not answered entirely accurately, so it's sometime helpful to post here too.

  • Connecting and sending data to web service

    Hi,
    I have to implement the functionality in PDF document to connect with the web service and send the form data in xml format on Click event of a button inside the form.
    During the initial development and testing I have found that document can only connect with the Web Service from within LiveCycle Designer or Adobe Pro. It doesn't work with the Reader.
    After surfing the internet I have come to know that Reader extensions are required along with Adobe Reader to communicate with the web services. Am I right?
    Furthermore, what I have to do is to distribute the PDF form to a number of people who will fill the form and submit the form data by clicking the Submit button (which will internally communicate with the web service to send data) on the form. So if extensions are required to communicate with web services from Reader, then what I am assuming is that all those people must have extensions installed on their machines along with Reader.
    On some forum I have also read that you only need to install the Extensions on the Designer machine and they are not compulsory to be on every client machine. i.e. Exntesions enable the web services communication features in the PDF form during design time. Is it true?
    Thanks in anticipation,
    Qarshi

    Be careful, your question should be posted in "LiveCycle Reader Extensions" forum. LiveCycle Data Services doesn't deal with these features.
    Nevertheless, to use webService calls from a PDF opened in the free Adobe Reader, you need to Reader extend your form.
    You can use Acrobat Pro to extend it if the PDF will not be used by more than 500 people.
    If you plan to reach more than 500 people, then you must consider LiveCycle Reader Extensions. This limitation is explained in the Acrobat EULA.
    The final users only need the Adobe Reader, they won't have to install any extension or plug-in.

  • I can not type into an FDF form

    I am running OS X 10.9.5 with Adobe Reader 11.0.09.  I am now unable to type into any FDF forms that I was able to type into prior to updating the OS X and Adobe Reader.  I typically have to have only the Adober Reader opening in 32-bit mode with a preference change in the documents section of changing the drop down box for viewing documents in PDF/A mode to never.  Any suggestions? 

    Hi slptech4,
    An FDF file is a special file created by exporting form field data from either Acrobat or Reader or it is created with the proper formatting.
    If the FDF includes the path to the source form PDF, then either Reader or Acrobat can open the FDF and fill-in the form fields in the source PDF file if the user's system can access the source pdf file by the link within the FDF file. Some PDF files do not include this link or the source PDF is not accessible by the user.
    FDF (Forms Data Format) cannot be opened with Adobe Reader because it is data file that needs to be imported to a PDF with corresponding fields or you can use a text editor to open it and read its data.
    If the users have Adobe Reader XI and you have created the form with Acrobat, not with LiveCycle Designer, they could fill the form, save it filled and send the PDF to other e-mails. If you have Acrobat X Pro you can Reader Extend it first before distributing it.
    Regards,
    Rave

  • Pls tell me how to submit a form?

    I want to use java class to submit a form to the web server,
    but I can't find which class will be useful for it,
    I find URLConnection can do it but can't set the request mothed
    to "post",HttpURLConnection can do it but it is an abstract class
    and I can't find the subclass,How can I do?

    But the "openLConnection()" method return URLConnection instance.
    Something like: new URL( "http://foo"
    ).openConnection() should return an instance of
    HttpURLConnection.

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

  • Submit fdf data to php to pupulate a html form text box

    okay i have no idea if this can be done because I always see it the other way around....
    I want to give my clients some instructions to type in an account number that is taken from the pdf, submitted to my web server in php or asp, and generates the information into a text box field...
    can anyone help me in the right direction?

    I cannot use the typical regular HTML "a href",
    because I have to call a struts action.No... you said you have to submit the form with a link. A link is an "a href", it's exactly what <html:link> generates. But a link cannot be used for form submitting except by invoking Javascript to do it programatically.
    Using an action in <html:link>, presuming that's really refering to an action and not just the href value, which is what I'm not really sure of. It's been a while since I've used Struts. So maybe the action is the href part, and you can put "javascript:void(0);" there?
    But I'm absolutely positive about the HTML/Javascript aspect. Struts tags don't alter how HTML works. They just make generating some HTML content easier. But in this case, I'm not sure that's helpful because I never found a simple way to get the actual form name that the <html:form> creates.

Maybe you are looking for

  • How to open a .doc file in MS word?

    Hello Can any body direct me to any api or library or sample, where by if you have word document in your local machine, you can run a java program to open that file in MS word. Basically Microsoft word is opened with the local file in your machine an

  • To find the error in java code if any

    i was learnig java.net package and this is the code i wrote to read the contents directly from a given url using openStream() method of URL class and got the message 'error' from java.io.IOException which i had given in the catch block. please tell m

  • Troubleshooting Webform Spam

    Hi everyone, If experiencing troubles with various webform spam please review the following documentation below to seek resolution.  How to enable ReCaptcha from webform: http://forums.adobe.com/docs/DOC-3531 How to protect against spam: http://forum

  • NSS Delay Purge for deleted files not deleted volumes

    Does anyone know how to set the "Delay Purge" for deleted files on an NSS volume, not, deleted volumes. I have a problem in our company, they want to use the automatic purge feature for deleted files but, they want to set a "Delay" on the purging. I

  • How to add Window Listener

    Basically, I have created a simple window. I am having trouble adding a window listener so that when the user clicks the x to exit the program, it exits. Here is the code I have. package javagraphics; import java.awt.*; import java.awt.event.*; publi