Webform
greys - February 13, 2009 - 20:08
| Project: | Fill PDF |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
Is there a plan to make this work with http://drupal.org/project/webform again?
Perhaps anyone know a good way to make webform results available for download as PDF? My goal is sothe user can download his own submitted results and our questions as pdf-files. I believe the first steps are outlined in this thread http://drupal.org/node/246371#comment-1208118
Thanks for any help.

#1
I'd love for it to work in webform, but the best way to go about that is to expose webform results via tokens. I was thinking of writing a tokens-integration module for webform myself, but never got around to it (full-time work & school, ugh). Once fields-in-core comes out, this problem is solved.
So someone write tokens-integration for webform please! :D
#2
But I do plan on writing that tokens-integration module myself if I get get time (could be many moons), so yes there are plans to make it work with webform.
-------------------------
Web development & design podcast
#3
So much to look into for a noob-drupal user.. ;-)
But what your planning sounds great, and all the work done here is much appreciated!
#4
Would the Custom Token module provide the ability to create tokens that both FillPDF and Webform could access?
I'm a n00b, but having a webform where the results could be output via FillPDF would be great. Also hoping to be able to use profile fields that have been added, but so far no luck.
#5
FillPDF uses anything with tokens. Custom Tokens will work, good find!
You can use profile data only if it's exposed as tokens -- I don't know think that's the case with core's profile.module. Try nodeprofile (D5) or content_profile (D6), which uses CCK for profile fields, thereby exposing them to tokens.
#6
I have just uploaded a new module called webformtokens which exposes webform submissions as tokens. I am using it to fill PDFs with data submitted to a webform.
#7
Liam you are the man! Got one more week of hell then I'll join yall again on all your great progress
#8
Excellent, Liam! Thank you.
...here's a new question/twist -- I can open it as a new item, but thought I'd toss it out here first:
Is it possible to use PDFs as ~inputs~ to Drupal? i.e., someone opens a PDF that is a stored form on Drupal with data entry fields, fills it out, and submits it -- the form data then goes to a printable or emailable PDF using FillPDF and the fields are also entered into a webform submission.
But, instead of using the webform to define fields, the fields are filled in on the PDF itself, making use of the PDF's painted fields and formatted content.
Thus, if someone fills out a form (a tax form, a registration form, whatever) that originates in electronic PDF format, the data they enter into that form is also captured for entry into Drupal...
...any thoughts? Is it feasible/possible? (Would open a lot of cool possibilities for integrating with existing paper forms and their electronic PDF counterparts etc.)
#9
Wonderful stuff here!
Thanks!
subscribe