PDFBox using to creating pdf's in HTML form - pdfbox

i've got another question about the PDFBox. Is it possible to creating new pdf's templates on our webpage and saving it?
Well something like - I want to create PDF document with specific fields as administrator on web page. I have fields which I want to fill by my restrictions and when I saving it i want to "LOCK" fields which i filled.
I hope it's clear.

Related

Is there an possibility to save a dynamic pdf as static but still have interactive fields within the document?

I have a dynamic pdf which I want to use for DocuSign and thus needs to be static. I cannot simply make use of the print as pdf function as I still want to use the interactive fields within the pdf.
I Tried to use Adobe AEM Forms Designer to save the document as static. But solely the first page of the form is saved.
Regarding your concern, I would like to share the following information, you can learn about PDF form field transformation. It enables you to transform PDF form fields automatically into DocuSign tabs, carrying over all of their existing values. The locations of the created tabs will match the locations of the fields from which they were generated.
To transform PDF form fields into DocuSign tabs, you need to set the transformPdfFields property on the documents whose fields you want to transform.
https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/tabs/pdf-transform/
https://www.docusign.com/blog/developers/the-trenches-pdf-form-field-transformation
Best Regards,
Eric | DocuSign

Using a GoogleSpreadsheet to fill in a PDF form

I have a very specific question and I would be extremely happy if anybody has any guess on how to solve it. I have: 1.- a PDF form which I have not created myself. 2.- a GoogleSpreadsheet created by myself.
Now the question is: is there any way I can fill in the PDF form using the information in the GoogleSpreadsheet, taking into account that this process should be activated from the GoogleSpreadsheet (since the PDF form is not mine)?
Best regards and thanks so much for everyone's input!
It depends.
You would need edit access to the PDF form, in order to get the field names. With that information, you could create a FDF (Forms Data Format, a PDF-related file format for data, using PDF syntax) file from the Google spreadsheet, which does refer to the PDF form as a base PDF. You then could open that FDF from the spreadsheet, and it should, if your webbrowser supports the Acrobat browser plug-in, grab the base PDF and populate it.
If you can not get the opening from the spreadsheet to work, download the FDF file and open it in Acrobat/Reader, or open the base form in Acrobat/Reader and import the data from the FDF file.

Is it possible to create fillable PDF from excel?

Currently, I have an excel file that upon launch it shows a userform where users can fill out a few text boxes/comboboxes and press create. Upon pressing create, it gathers stored data and creates a PDF that we send to vendors. It's essentially an invoice. The vendors that receive this PDF have to fill out a couple of lines and return it to us. Right now if they have no acrobat/reader experience, they're printing the PDF and then scanning and returning to us.
I want the vendors to be able to type in a few areas on the PDF and return it to us. My question is, can I create a fillable PDF from excel? Does anyone know how to do this using excel features or with VBA? Or any other method?
Thanks!
Brandon
Short Answer: Absolutely.
First you will start with a fillable pdf form. (you can create one using Adobe Acrobat or the older Adobe Designer)
It is my understanding, from your question that you would like to take some information, fill out a PDF, then send this to your client, to complete this.
Using VBA you can do all of this in one single button.
I created a step-by-step video on how to use the SendKeys method to achieve this.
Please see the detailed instructional YouTube video here: How to AUTOMATICALLY fill PDF forms using Microsoft Excel in 1 CLICK

Saving the modified contents of a pdf

I've got a form that I downloaded, I'd like to prefill some content on the form (this is easy using cfpdfform).
Where it gets tricky is I would like to allow the user to modify the contents of that form, and then somehow have those modified contents accessible to me. I didnt build the source PDF so I dont know how to allow the user to "save" the new contents so they can be read.
Any ideas on where I might start on this one?
You can also use the cfpdfform tag to read/write data to a PDF file which has a form. The important thing is that the PDF document already have the form fields available, or that you add them.
I just recently completed a task where I had to have a user fill out a normal web form, and then create a filled version of an existing PDF document. It worked like a breeze!
I think that depending on what you are trying to accomplish, having the user fill out the data in a web form is less confusing than serving up a PDF and expecting them to save that to update a file on a remote server. Just my opinion, though.
http://www.cfquickdocs.com/cf8/?getDoc=cfpdfform#cfpdfform
It's possible for users to complete most PDF forms in Adobe Reader, but when user's try to save the changes they get a popup prompting them that the PDF cannot be saved and would need to upgrade to Adobe Acrobat to have this functionality.
Since Acrobat 7 (or possibly) 8 it's possible to create a form so that it can be completed and saved in reader. In Acrobat open your PDF, and select Advanced -> Enable usage right in reader from the menu. This will prompt you to save the form and then anyone using Adobe reader can complete it.
Once that's done you can open the form in ColdFusion, populate some of the fields and serve it up to the user. Once they fill it in, save it and get it back in ColdFusion you can read the contents using the PDF related tags.
Please note: It's currently not possible to set the "enable usage rights in reader" flag from ColdFusion, you need a copy of Adobe Acrobat or access to Adobe LifeCycle server to do this.
This document may help you:
http://www.adobe.com/education/instruction/teach/coldfusion/CF8-2_advanced_cf8_development_unit8.pdf

web based form to collect data and populate to a fillable PDF

Is there a script that anyone can suggest that would allow me to create a HTML or PHP web based form to collect data and save that data. the call the data to be populated in a fillable pdf?
If you have an existing PDF that you want to populate, and that PDF just has text fields (no checkboxes or radio buttons) then CAM::PDF may be able to help you. You can use it as a Perl library directly, or use its command-line interface. CAM::PDF is not useful for generating PDFs from scratch, however. Furthermore, if you have embedded fonts, then you need to ensure that all of the characters you plan to insert are represented in the embedded font.
Use a normal web page to get the data. If not sure how to do it, look for "php forms" on google, there are plenty of tutorials.
Then use a php pdf generator, like this one, to create the PDF file. If you look hard enough, you will probably find a pdf generator that will let you use a template with placeholders where the entered data should be.