Hi,
My client wants their form to be emailed to them as a PDF so they can just print and have their customer's sign. Is there any tools for doing this?
/daveb
Thanks very much and Happy New Year!
Hi,
I downloaded and configure a simple form like in the example. The PDF output I get has the following on the page, any ideas?
#gototop{border:1px solid #000;margin:5px;padding:5px;backgr
ound-color:#000;color:#fff;}
#gototop:hover{background-color:#000;color:#fff;}test
Thanks
Hi daveboulter,
That looks as if a bit of CSS is getting included. Pretty much impossible to say anything else from the information here. It isn't code from the FAQ as far as I can see.
Bob
Thanks Bob, that was my conclusion as well. Do you think the documentation for tcpdf will help me figure out what code module may be doing this? The content tab has only the word Test in it. I cant see anything in the configuration of the Action tcpdf that would allow CSS or similar to filter through.
/daveb
Hi dave,
I wondered if it might be a corrupted file in the action? I ran a quick search on the action files for #gototop{border and don't see it there anywhere.
Bob
PS I ran the same check across all the files on my J3 test site and didn't find it there either.
If I comment out lines 86-88:
if(isset($headData['style']['text/css'])){
$css = $headData['style']['text/css'];
}
in:
...../administrator/components/com_chronoforms/form_actions/tcpdf/cfaction_tcpdf.php
I can remove it. This area of the code says Load CSS if any. I think I should not have to hack that so a bit worried.
/daveb
Hello! I have the same problem, I would like to know if you've solved by removing the two lines of code that you indicated.
Thanks.
Piero.
Hi pieroso,
It looks as though Dave fixed the problem with that change. The PDF action was written by a user for CFv4 on an earlier version of Joomla! so some updates may well be needed now. If it works and doesn't break anything else then the change is probably OK.
Bob
Hi Bob,
I use chronoform 4.0 RC3.21 with joomla 1.5.26.
I removed those lines of code and everything seems to work fine.
Thanks to Dave for the solution and to you for your timely assistance.