I want to be able to display a fillable PDF form in LiveCode and then allow the user to fill it in and then save the resulting document.
I have tried a couple of things.
PDF Viewer
- I have the LiveCode Business Licence so I have the PDF Viewer. When I open a fillable PDF form I can only view the PDF I can't fill in the fillable fields.
Browser instance
- I have tried viewing the fillable PDF form in a Browser instance. I can fill out the fillable fields but my difficulty is in saving the resulting form.
-I tried printing the browser instance with the revBrowserPrint command and then save as a PDF in the dialog.
- this does print the browser page but the page of the PDF that is in view but not the whole document.
Is there a way to do this that I can save the filled form as a PDF?
Martin
Filling in and saving PDF Forms in LiveCode
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 256
- Joined: Sun May 27, 2007 8:19 pm
Re: Filling in and saving PDF Forms in LiveCode
First of all, fillable PDF can't be saved filled. The fillable PDF "standard" borne with the horrible idea to fill it and print it and sign it, but not to save it.
So printing it is the only way, to print an entire document correctly you have to use an external program with the command:. Fill and print with the external program. (launch will use the computer default program for PDF)
So printing it is the only way, to print an entire document correctly you have to use an external program with the command:
Code: Select all
launch document "myForm.pdf"
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
-
- VIP Livecode Opensource Backer
- Posts: 256
- Joined: Sun May 27, 2007 8:19 pm
Re: Filling in and saving PDF Forms in LiveCode
Hi MaxV
Thanks for the insight. I had read that there was data saved as .fdf files and I thought it could be saved.
OK off to think of another approach to this.
Martin
Thanks for the insight. I had read that there was data saved as .fdf files and I thought it could be saved.
OK off to think of another approach to this.
Martin