Form content to PDF

Phoca PDF - creating PDF documents in Joomla! CMS
bernard
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Nov 2009, 14:30

Form content to PDF

Post by bernard »

I have a web form with couple of input fields.
User must fill in the form and at the end press PDF button in order to receive PDF file with his input.

The problem is that PDF doesnt show the input fields and writen values. Can this be done with Phoca PDF ?

Thanks!
bernard
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Nov 2009, 14:30

Re: Form content to PDF

Post by bernard »

I did some tests and found out that PDF works on HTML source code which comes from joomla database,
not on new DOM HTML code which is dynamicly build. Some of my content comes when user inputs values and some of it, will be build dynamicly by modifying DOM HTML tree.

Is there a way to build PDF from "NEW" page source ????
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Form content to PDF

Post by Jan »

Hi, I think not, as in such case the PDF will be not able to "consume" all the html output :-(
If you find Phoca extensions useful, please support the project
bernard
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Nov 2009, 14:30

Re: Form content to PDF

Post by bernard »

What about if I transfer the new code via URL like ?param=new_site_url to pdf component and give it new input and do required modification of the component - Would that work ???
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Form content to PDF

Post by Jan »

HI, no idea as I have not tested it :(

Jan
If you find Phoca extensions useful, please support the project
Post Reply