Page 1 of 1

Form content to PDF

Posted: 25 Nov 2009, 14:37
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!

Re: Form content to PDF

Posted: 25 Nov 2009, 16:13
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 ????

Re: Form content to PDF

Posted: 25 Nov 2009, 17:13
by Jan
Hi, I think not, as in such case the PDF will be not able to "consume" all the html output :-(

Re: Form content to PDF

Posted: 25 Nov 2009, 17:22
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 ???

Re: Form content to PDF

Posted: 25 Nov 2009, 19:48
by Jan
HI, no idea as I have not tested it :(

Jan