Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we create interactive PDF forms using reportlab?

Can we create interactive PDF forms using reportlab? That is, a form that takes in data from readers and save them into the database.

like image 426
john Avatar asked Oct 14 '10 01:10

john


1 Answers

reportlab.pdfbase.pdfform.py implies that you can, but it doesn't sound like a mature feature.

Support for Acrobat Forms in ReportLab documents

This module is somewhat experimental at this time.

Includes basic support for
    textfields,
    select fields (drop down lists), and
    check buttons.

The public interface consists of functions at the moment.
At some later date these operations may be made into canvas
methods. (comments?)

The ...Absolute(...) functions position the fields with respect
to the absolute canvas coordinate space -- that is, they do not
respect any coordinate transforms in effect for the canvas.
like image 184
synthesizerpatel Avatar answered Sep 30 '22 12:09

synthesizerpatel