Usng Acrobat SDK to create form fields on an existing pdf
I am trying to implement a browser based editor for my company's application. This requires to fetch an already created pdf document, add form fields on it and display on a browser.
Does it look feasible? Does Acrobat SDK allow to create a fillable pdf from an existing file?
Vishal
(This question is actually more suited to the Acrobat SDK forum)
Similar Messages
-
Acrobat SDK to create form fields on existing pdf
I am trying to implement a browser based editor for my company's application. This requires to fetch an already created pdf document, add form fields on it and display on a browser.
Does it look feasible? Does Acrobat SDK allow to create a fillable pdf from an existing file?
VishalVishal:
Take a look at the FormFieldSampleService in the Datalogics PDF Java Toolkit. The toolkit was developed by Adobe and, as you'll see in the sample, provides an API to add fields to a PDF file.
FormFieldServiceSample | Datalogics Developer Resources -
Can anyone answer this question for me?
As in, a PDF that has already been created in a different version and has established form fields. Can I open it in Standard and add a digital signature to a field or do I have to use Pro, or does the form need to be recreated? The comparison chart is kind of unclear about this.
Message was edited by: Danny Yoder
Message was edited by: Danny YoderYes. It was possible in Acrobat X Standard and I do not think it was removed in Acrobat XI Standard. It does not matter with which version your PDF was originally created. You can always add fields.
-
I successfully created a form filled pdf using an existing pdf document. However, the font size is too large to allow end user to type in information in the form box. Is there a way to 1)globally set all of the form fields when generated to a much smaller font size &/or 2) allow end user to change the font size if needed to put all information in one box without font being so large?
Hi DenisonDoc,
There is no option right now to set properties globally primarily for Text fields. You may make sure fields doesn't contain anything.
Select all the text filed from the form and right click any of the selected field make sure all of them are selected choose properties --> Appearance there you can choose Font Size and Font type.
- End users cant change size and type of font. It is up to designer.
Regards,
Ajlan Huda. -
Acrobat XI Windows 7 - unable to (copy and) paste form fields to a different pdf.
To maintain a consistent appearance and function in the forms I create for various departments, I copy a few form fields (text, checkboxes) from an unrelated Acrobat PDF. Then I paste those fields into a different PDF document that I am making fillable.
I do this because Acrobat does not allow setting a default for certain attributes when creating form fields, i.e. an unchecked scroll option, a default font other than Helvetica (in Acrobat 8, 9, and X). Plus it is time-saving to copy and paste fields that are the same in another PDF, like name, address, phone. etc.
We just updated to Acrobat XI and Windows 7 and now I cannot paste copied fields onto a different PDF.
Using "replace pages" is not applicable as I am pasting to an entirely different form and copying form fields with the settings I use.
Is this a glitch or is something new that was not in Acrobat 8, 9, and X?
Also, question regarding this forum entry - http://forums.adobe.com/message/5638333#5638333 - which is somewhat different from my current question.
The PDF creator could not paste copied fields on other pages of the same PDF. Was this ever resolved so that copy and paste worked as it has for the last 3 versions of Acrobat?
Thanks!
JoanieGilad: You're right: when the fields are different, such as a checkbox and a text field, and you try to title them the same, Acrobat gives you a message. I received no messages, the field names are not the same or I missed one and Acrobat is no longer messaging about it.
My question is different. Acrobat XI will not let me paste any field copied from a different PDF. I've been doing that for 5 years in three different versions. Maybe Acrobat XI has a new process for that, which I could not find in Acrobat help. Maybe it's because all forms now have extended rights automatically in Acrobat XI and there is another method to copy common fields to other PDFs.
Any thoughts about the new Acrobat XI? It's different in many good ways, but different.
Thanks for your ideas. -
Acrobat Reader 9 with an Acrobat 5-8 Created Form?
Hello,
I am new to my job working with a ASP application that provides a PDF form (created in Acrobat 5) to users with free form fields the user can fill out. Users have been complaining that when the users upgrade to Acrobat Reader 9 the begin to see a message that "Some features are no longer supported..." and the ability to save a local copy of the file is no longer available. I have 2 questions.
Was the ability to save a local copy of a form with user-entered data ever a feature of Acrobat Reader?
Is that an issue that can be corrected by creating the form with the Acrobat 9 Life-Cycle engine or is that a feature that has forever been removed from Acrobat Reader for security or other reasons?
Thanks in advance!
- YohancefNo I was referring to filled in forms.
So to be clear, the ability to save user filled in information in a form to your local machine as a PDF through Acrobat Reader IS possible, but has to be enabled by opening the form in Acrobat (9 for example) and enabling some feature to allows Reader users to save the information to the PDF file. This feature is limited though and has a 500 use limit per form.
Does that sound correct? Do you know the name of the feature?
Thanks!
Yohancef Chin
Date: Mon, 2 Nov 2009 16:49:54 -0700
From: [email protected]
To: [email protected]
Subject: Acrobat Reader 9 with an Acrobat 5-8 Created Form?
There may be some features that are not supported any more but you may not be using them. That message is just a general warning.
As far as saving the filled in form, Reader on it's own has never been able to do it. You would need the newer version of Acrobat to open and enable these forms so that Reader users can save them. Be warned that this feature is meant for small-time use and has a usage limit of 500 submissions per form. You'll want to read and undestand the EULA before planning on using it.
Or do you mean that they cannot save the unfilled form either?
> -
According to the documentation I should be able to create
form fields from within the Acrobat app. The instructions say to
"choose Forms > Add or Edit Fields", but I do not get the option
for Add or Edit Fields. The closest I get is Edit in Form Designer,
which opens up the LiveCycle Designer application. I am unable to
edit the options of the field here.
I am attempting to add form fields to a pre-designed document
to use as a template to interface with our ERP system to produce
reports.
Any help would be great.
JGWHello,
I'm sorry I'm not able to address your question. These forums
are specific to the
Acrobat.com website and its set of hosted services, and do
not cover the Acrobat family of desktop products.
Any questions related to the Acrobat family of desktop
products would be best suited in the Acrobat User Forums:
Link to
Acrobat Forums
Thanks!
Michelle -
is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?
No
-
How to Supply the form field values to a pdf form when loading it
I am working on a web site project using Asp.net where the user has to fill in a PDF eform in acrobat reader. Then when he clicks on submit it returns to my asp.net app and the PDF form supplies the values back to my asp.net app. So my asp.net app has the values that were filled in the PDF form and can save those values and work with them...
OK.
What I need to know is when I am in my asp.net app, and the user wants to go back and reopen the same form, from my asp.net app..... then how do I pass back the values that were saved back to the PDF form??
I know if I had a way to pass the values to the PDF form in some way then in the Doc.open or doc.load event of the form I could easily write a little javascript to plug in the values in the PDF form fields.
but how do I pass those values from my asp.net app to my PDF form???
thanksThanks bcweed for all the info. I fixed my problem, it had something to do with LiveCycle Designer. If I just use Acrobat to add the form fields, then the FDF works fine. As to your situation with the SavToBuf, that happens to be the method that I am using, so I will just post my code here, and maybe you can pick out what is different from yours. The Response.BinaryWrite(FDFin.FDFSaveToBuf)is at the bottom.
Sql = "SELECT * FROM Invoices" & WHERE
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Db_Conn_Str
Set Rs = Server.CreateObject("ADODB.Recordset")
Rs.Open Sql, Conn, adOpenStatic, adLockReadOnly, adCmdText
If Not Rs.EOF Then
End If
Set FdfAcX = Server.CreateObject("FdfApp.FdfApp")
Set outputFDF = FdfAcX.FDFCreate
'VendorID = VendorName = VendorNum = InvoiceDate = PreparedBy = ""
Gross = 0
For I=0 To Rs.RecordCount-1
If InStr(VendorID,Rs.Fields("VendorID")) = 0 Then
VendorID = VendorID & Rs.Fields("VendorID") & ", "
End If
If InStr(VendorName,Rs.Fields("VendorName")) = 0 Then
VendorName = VendorName & Rs.Fields("VendorName") & ", "
End If
If InStr(InvoiceNum,Rs.Fields("InvoiceNumber")) = 0 Then
InvoiceNum = InvoiceNum & Rs.Fields("InvoiceNumber") & ", "
End If
If InStr(InvoiceDate,Rs.Fields("InvoiceDate")) = 0 Then
InvoiceDate = InvoiceDate & Rs.Fields("InvoiceDate") & ", "
End If
If InStr(PreparedBy,Rs.Fields("PreparedBy")) = 0 Then
PreparedBy = PreparedBy & Rs.Fields("PreparedBy") & ", "
End If
Rs.MoveNext
Next
Rs.MoveFirst
outputFDF.FDFSetValue "VendorID",VendorID,False
outputFDF.FDFSetValue "VendorName",VendorName,False
outputFDF.FDFSetValue "InvoiceNum",InvoiceNum,False
outputFDF.FDFSetValue "InvoiceDate",InvoiceDate,False
outputFDF.FDFSetValue "PreparedBy",PreparedBy,False
For I=0 To Rs.RecordCount-1
outputFDF.FDFSetValue ("Line."&I), Rs.Fields("Amount")&"", False
outputFDF.FDFSetValue ("Company."&I), Rs.Fields("Company")&"", False
outputFDF.FDFSetValue ("GL."&I), Rs.Fields("GL")&"", False
outputFDF.FDFSetValue ("CC."&I), Rs.Fields("CostCenter")&"", False
outputFDF.FDFSetValue ("DocNum."&I), Rs.Fields("DocNumber")&"", False
Gross = CCur(Gross) + CCur(Rs.Fields("Amount"))
Rs.MoveNext
Next
outputFDF.FDFSetValue "Gross", Gross, False
Rs.Close
Set Rs = Nothing
Sql = "UPDATE Invoices SET DatePrinted = '" & Now() & "'" & WHERE
Conn.Execute Sql
Conn.Close
Set Conn = Nothing
outputFDF.FDFSetValue "PrintDate", Date(), False
outputFDF.FDFSetFile "http://admin/invoices/pdf/InvoiceAuthorization.pdf"
Response.ContentType = "application/vnd.fdf"
Response.BinaryWrite outputFDF.FDFSaveToBuf
outputFDF.FDFClose
%> -
Form Fields Will Not Overlay PDF
When I attempt to create fillable form fields on an exisiting pdf (which was converted from excel) it pulls up in LiveCycle Designer with the original pdf on page 1, and a second page of what appears to be a pretty accurate layout of fillable forms. However, I cannot get these fields moved to page 1 no matter what I do. Please help. I am not sure if this is a setting or a problem with my adobe or what.
Thankyou.Case number is
#0183632756
Sill no response from Adobe - going to be going on a week with no response here shortly.
An update to the issue. I went ahead and downloaded some forms from IRS.gov and the issue persists no matter what version of reader we use. It is looking like we have a bug with Reader that conflicts with specific software. I am currently compiling a list of PC's that this form does and does not work on and we'll see what common threads I can find.
@Nikhil.Gupta, I have done what you suggest on all affected and non-infected PC's with identical results. I have also tried reader 9.5 with the same results. -
Can I retain PDF created form fields if importing back to indesign?
Hello,
First time forum user here.
I have been trying to create an active form that would work as an internal approval form for any design job created in Indesign. I saw in other posts here that it is not possible to create this in Indesign so I designed my form in Indesign, created PDF & set up form fields within that Arobat file.
I now want to imprt this back into Indesign whilst maintaining the field functionality with the intention of it becoming a Library item.
Is this possible & what is the direction I would take to achieve this? I am not familiar with XML (which is what I tried but didn't understand what I had created).
Hope you can help,
MelThanks Peter,
It was a bit of a long shot - I was trying to cheat the system somewhat but yes, your response is exactly what I have been coming up with.
What a great function this could be though for Design Studios everywhere and more - Design Checklists/Client Approvals/Printers Notes that can be modified to auto-fill as per set fields. Can sit it in the slug and it would be a great reference point for any stage of the job (well that's my studio/production manager head talking - nice neat documentation... LOVE IT!
Guess I will have to rely on Acrobat to get me through.
Appreciate your time.
Mel -
How to create form fields in Adobe Professional version 8
Hello,
I have been trying for some time now to get a form in place. I have used an existing form and I am working in Adobe Professional version 8.
I went to tools, forms and than I thought I had to click on text field tool. But than it asks me to name the text field. I want to keep the name fields blank and have them completed by the persons I will send it to (or actually this form will be posted online). The other persons should be able to open, complete, save and return it by email.
please advise me what to do.
Your help section brings me all the time to the Life Cycle which I think is not appropriate for the purpose I need it.Thank you for your advises but I have the impression my initial question is still not being answered.
I have tried to create the fields in Adobe Pro 8 version, via forms, text field tool and named all the fields.
Than I saved it and enabled the usage rights for Adobe Reader but opening this file from another computer in Adobe Reader, it allows me only to add comments and markups in the document, not filling out the form in the form fields I thought I created before?
Now what to do? Did I do something wrong with the creation of form fields, can you please describe the exact path/steps to take?
Appreciate your prompt reply. -
Is it possible to dynamically create form fields in PDF form?
Hi all,
I would like to dynamically create object like textbox, dropdown list from xml data. For example:
When I receive following xml data:
<field name="Check Box" type="selectbox"/>
<field name="Text Field" type="textbox"/>
I want to generate 2 form fields check box and text field with title "Check Box" and "Text Field" accordingly.
Is it possible to do it in javascript for PDF form?
Thank you and regards,
AnhYou cannot dynamically create objects on the fly like that but you can create interpret the XML and create an XDP file (which is the language of the template file) then bring that into Designer and create a PDF from that.
Paul -
Reader-enabled form from Acrobat is retaining interactive form fields when user saves the form
This is an issue that has only recently come up. In the past it was not a problem to take a pdf, add interactive form fields to it in LiveCycle, then open the form in Acrobat and enable usage rights for Reader users.
This allowed Reader users to fill out the form and save the results. With the most recent versions of Acrobat and Reader the user saves the form and the data AND the interactive form fields are saved in the resulting file - meaning that the data is still there to be changed. Clearly not what we want and not what Acrobat and Reader were doing previously.
The form does properly display "You can save data typed in this form" when opened in Reader.
I have got no response to this issue in the LiveCycle forum, and nothing shows up in a search. I would very much like to fix this, as it is affecting our entire library of pdf forms.In most instances the form is linked on the website, so the original form will cannot be overwritten.
In some cases we have to supply an interactive pdf for a department that they will then distribute by email to various groups who are expected to fill the form out on submit on an ongoing basis. That is what I was meaning by the user filling out the form, printing it, and then being prompted to save changes.
The bigger issue is that most of our users expect to take a form hosted on the website, fill it out, and then save a pdf copy of their responses for reference. The reference copy is retaining the interactive fields rather than printing as a static pdf.
If I could force the action of printing as a pdf (rather than saving as a pdf) on submission I think that would solve the issue. The script for most of the forms in the library is xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0); and I am not aware of a way to force the print to only be to the pdf print driver. -
Newly created form field does not appear in Preview mode, only edit.
Created two fields on this page. Only this first one shows in Preview mode. I saved the doc before hitting preview.
What happens if you exit forms editing mode? Is the field set to hidden?
Maybe you are looking for
-
How do I delete an event in ical that i've accepted an invitation to.
how can I delete an event in the calender app that I've accepted an invitation to.
-
PROFIT CENTER ACCOUNTING-BALANCE SHEET ITEMS TRANSFER
Dear all. SAP describe as forllows about set up the opening balance for materials: In this activity, you set up the opening balance for materials. The system determines the material stock balance from Materials Management and posts it to Profit Cente
-
i am unable to manually add artwork via itunes 12 on windows 7. I've tried all the suggestions to no avail. Has anyone succeeded on the same platform as me?
-
NoClassDefFoundError in custom ClassLoader
I've written a ClassLoader class which performs classloading via a serial communications port using our own propriety protocol. The ClassLoader works well and dynamically loads classes as expected. However, the server software can tell the ClassLoade
-
I have read a few topics on this however there has never been any form of real answer. I have been looking at using Photoshop CS4 and downloaded the trail. All was going well and I liked it, then it starting closing itself down for no reason at all.