Re: Retrieving Form Values from a ReportLab PDF

Mike Romey <[email protected]> Wed, 2 Sep 2020 06:40:11 -0700
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
Hi Robin,

I determined that the Preview App in OSX was the problem.  To resolve the matter I put a warning on the form to use Acrobat Reader NOT Preview App.  All appears to work now as expected.  I did however have a few more questions regarding forms.  It looks like form validation is possible with PDF’s.  For example I have a date field and I want the user to input a date in a very specific format. Or an email field that I want users to fill out appropriately.  I am wondering if ReportLab form fields have been configured to support JS validations or regex or anything like this.  I am guessing the answer is no,  but thought I might ask here.

Romey


Sent from my iPhone

> On Aug 28, 2020, at 12:32 PM, Robin Becker <[email protected]> wrote:
> 
> ......
> 
> I attach my edited file;
> 
> 1) what happens when you open it with your viewer / chrome do you see the edits?
> 
> 2) what does your PyPDF2 show when trying to read the  edited file or does it just error as before.
> 
> If you want send me [email protected] your edited file(s) and I can check what happens in my viewer/PyPDF2 etc etc.
> -- 
> Robin Becker
> <mikeromey-1.pdf>
_______________________________________________
reportlab-users mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/reportlab-users