Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I wonder how to create fillable forms in a PDF, such as this one. I would like to fill out the places that are required to fill out.

share|improve this question

8 Answers 8

You can try to OCR the scanned image to convert it to editable text - but that often involves a bit of correction later to fix the mistakes, especially with forms. As discussed in comments below, use the form controls in Libreoffice to add fields to the form if you want to generate a pdf form that can be filled out.

or, what I think I would do, - you could just edit the image (cut'n'paste from the PDF) in a paint/drawing program (maybe LibreOffice Draw?) and insert text at the appropriate points. LibreOffice can convert it back to a PDF as well, as a bonus.

share|improve this answer
    
Thanks! (1) If OCR and edit the text, how shall I get back to the original pdf with forms added? (2) I have tried to open the pdf in LibreOffice Draw, but it doesn't show the pdf but the source of the pdf. I guess I might open the pdf in a wrong way? –  Tim Jul 22 '12 at 22:24
    
If you OCR it to a text in wordprocessing document, then you need to correct all errors in a wordprocessor like Libreoffice writer, then add your info, then resave it as a PDF. –  Jazz Jul 22 '12 at 23:02
    
If you open the original PDF in a PDF viewer, you can cut'n'paste the image to Libreoffice Draw, add text to the image in the correct places, then again resave it as a PDF. –  Jazz Jul 22 '12 at 23:04
    
Thanks! For the OCR way, does "resave it as a PDF" mean converting from odt format to pdf format, and will it create a PDF with a different layout from that of the original pdf? –  Tim Jul 22 '12 at 23:08
    
Maybe I should have said "Export it as pdf". It's an item on the Libreoffice File menu, and an icon in the ribbon/toolbar. The Layout should remain essentially as you see it in Libreoffice while you are editing it. –  Jazz Jul 22 '12 at 23:39

By far the simplest way to do this is with Xournal. You type or draw in a layer above the PDF, then export the PDF + your layer as a new PDF. It looks very neat and it is easy to use. Here is a screen shot of the UI with a simple line of text added to your example PDF.

Xournal example edit

share|improve this answer
    
Thanks, Tom! if I understand it correctly, the way by Xournal is to create fields that will be filled out immediately thereafter. Suppose one would like to create interactive forms that will be filled out some time later by someone else, and then how will such forms be created? –  Tim Jul 23 '12 at 13:48
    
@Tim I edited your question, see if that makes more sense (edit it again if not). Xournal is just a virtual layer on top of the PDF, they get flattened to one layer again on export. This is why you have to manually line everything up, it doesn't see the fields. Unfortunately I don't know of any Linux software that you can use to create PDF documents with fields that users can fill in. –  Tom Brossman Jul 23 '12 at 20:23
    
Thanks! I wonder if the font size of input text can be changed? –  Tim Jul 23 '12 at 22:39
    
@Tim top right of the screen-shot, both font and font size are configurable. –  Tom Brossman Jul 24 '12 at 7:10

I believe OpenOffice Writer can create fillable PDFs, though it may be lacking some features that you may be looking for such as emailing the output.

The basics are:

  1. create a new OO Writer document
  2. enable the Forms toolbar
  3. create your form
  4. export as a PDF

Here's a detailed tutorial:

http://openoffice.blogs.com/forms_fromscratch.pdf

In order to add form fields to an existing PDF, you can install the pdf importer extension for OO writer:

sudo apt-get install libreoffice-pdfimport

I just tested that and it works fine with LibreOffice 3.

share|improve this answer
    
+1 That's a great tutorial. I make PDFs all the time and never quite mastered fillable fields. Maybe now I can figure it out. –  Tom Brossman Jul 23 '12 at 21:17
    
Thanks! Does your method by OpenOffice Write only apply to pdf that will be created from OO writer document, not to the existing pdf such as the one in my question? –  Tim Jul 23 '12 at 21:59
1  
updated with the package info for importing existing PDFs into OO Writer. –  ImaginaryRobots Jul 24 '12 at 1:05
    
it works with LO 4.0 too. bonus point\1: using formatted text field, everything put in the text field get formatted the way you like. bonus point\2: with evince (default pdf viewer in ubuntu) you can easily save the edited document –  Dariopnc Jun 4 '13 at 16:28

You can try: uPdf

You can add blank pages, or pages from other documents or insert images or text.

sudo add-apt-repository ppa:atareao/updf
sudo apt-get update
sudo apt-get install updf
share|improve this answer
1  
Can updf insert fillable fields? That was the main concern of the question –  Anwar Shah Jan 19 '13 at 13:56

You can create PDF forms with OpenOffice Writer that users can fill-in with a simple PDF viewer. You use form controls (View - Toolbars - "Form Controls") and insert fields. There is several steps in the process. How-to do it guide:

http://foersom.net/HowTo/OoCreatePdfForm.html

share|improve this answer
1  
Thanks and Welcome to Ask Ubuntu site! Your answer might be correct and very good one, but we need the essential contents of an answer be here. Provide the link for reference. –  Anwar Shah Jan 19 '13 at 13:54

so far, for me, all pdf for linux are buggy and unstable. an easy way to overlay info is to: 1/ use GIMP to import pdf and save pdf as an image (eg tiff); 2/ use that image as a watermark in LO-Writer; 3/ use keyboard to simply type onto the page where you need; 4/ save as odt and pdf files. simple, quick.

share|improve this answer

I happened to come across this website for software, called PDFfiller when I was looking for a perfect way to edit PDF files. I would really recommend this, no software to download and install. You can fill the text fields, add a variety of checkmarks, digitally sign the form and even add pictures. After your pdf form is completed, it can be printed, emailed, faxed or saved on your computer. You can even send fillable pdf forms to your customers, employees, vendors and partners. Also you can find the right fillable form anytime using the form search engine that contains more than 10 Million forms.

share|improve this answer

PDF Studio 9 has an interactive form designer to add text fields, check boxes, radio buttons, list or signature fields to PDF documents. JavaScript formatting and calculations are supported.

If you are only interested in filling data into existing interactive fors, PDF Studio can also do that and save the forms. It supports acroforms and static xfa forms.

http://www.qoppa.com/pdfstudio/

share|improve this answer

protected by Community Nov 7 at 19:09

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.