Hi, I need to build several forms for an International Congress
People will have to input their data on various forms, each form should collect the data and send them to an email address (easy part, no prob on that).
After sending an email a PDF file with data inserted thru the form should be generated and presented to the user. (then people have to print this, sign and send it by regular mail or fax)
Is it possible? what should I use to accomplish this?
thanks!
Hi autodafe,
It is probably possible but not easy. Joomla lets you print a content page in a PDF easily enough. But it's not clear how to get the form data into a content page as - last time I checked - the PDF code ignored any content placed by mambots.
You could try mod_placehere - I was using that yesterday and noticed that it allowed you to include the pdf button. I have no idea if it would work with form out put though.
The alternative - which I'm working on now for a client - is to find a php to pdf script (there are several around) and code the pdf output by hand.
I'll be interested to hear if you find a good solution.
Bob
thanks,
i have seen another discussion here, tried something like that but with no luck.
i was also thinking about the custom "php to pdf" thing...I think I could code something similar, passing parameters to a "thank you" page where I could generate the pdf output. Only thing I am not sure is the need of dedicated libraries on the server...
i ' ll let you know.
in the meantime if anybody has othre suggestions, I am listening :wink:
Any updated solutions for this issue?
I have created a form that needs to be able to be filled out and printed by the end user, and then submitted by snail mail with a check (other users will submit the form online with PayPal payment).
I am using Chronoforms V4. I embedded the form in a Joomla article, thinking I could use their pdf or print features, but for print I get a blank form and for pdf I don't even get that - just the line of code for embedding a form in a Joomla article.
I have seen mention in another thread about "writing the form data to a Joomla article" but I don't know how to do that.
I also have seen something about using the Thank you page, but am not sure how to do that either - I tried copying the template from the on-submit email into the Thank you message, but it didn't work..... (looks fine in the email)
Any help on this matter would be most appreciated!
Update from my previous post - I am able to get the information that I want to print onto the Thank You page... I think I must have closed without saving the first time I tried.
So is there any way that I can make this Thank You page a Joomla article? Because then I could use the Joomla pdf or print features. (Printing from the browser looks ugly......)
Thanks for any help that you can provide.
Hi JerseyGirl,
This always has been a tricky one.
You can certainly get the out put into an article. There's a submit_content form that you can download from the site here. To create an article the output has to end up in the 'introtext' or 'fulltext' variables so that it can be saved into com_content.
I think that there are also posts where users have (a) successfully added Print buttons to a form or thank you page and (b) output to a pdf file. I've not tried either of these recently but I have been able to put output into a downloadable word document which can then be printed.
Bob
Thanks - in the download section, I found
submitcontent.cfbak - is this what you are referring to? The instructions say it says "V3.0 beta2 or up" - but does that include V4?
Thanks.
Hi JerseyGirl,
orry I hadn't realised that you are using CFv4; that has an action built in if you go to the Action Panel and scroll down click the 'Utilities' link and you'll see the Submi Article action that you can drag over to the Events box.
I'm afraid that I haven't yet tried it so can’t tell you how it works.
Bob