As in title
I believe that the main feature needed is a pdf for the end user
As admin it's a great module
but I think it's important to give a pdf of inserted data to final user

thanks by now

Comments

mr.york’s picture

Status: Active » Reviewed & tested by the community

Please check the next "dev" version. I modified the PDF permission access. If somebody has "webform submissions" or "webform results" then he can use it.

fabrizioprocopio’s picture

Great! It's a good news
expecially if as administrator I can let anonymous user fill a webform and print the pdf (somehow)
I'm going to chek the new dev version
thanks a lot for your time :)

fab

mrshark’s picture

i've set permission as explained:

access own webform submissions
and
access webform results

but normal user cannot see pdf links nor download...
as admin, everything is ok... where i'm wrong?

mrshark’s picture

using latest 6.x-1.x-dev now i've this, as normal authenticated user:

clicking "You have already submitted this form. View your previous submissions." brings to THE USER submission list, and clicking SHOW there's no pdf download link... nor a pdf is generated when someone sends a webform, as i was thinking it should be...

on the main form page, there's a RESULTS button, that enables a normal user to see ALL the submissions, not only his own!

on results page, there's a DOWNLOAD PDF button that brings to a page where EVERYONE can download a global pdf of the selectable submissions, and 2 links, SHOW and DOWNLOAD PDF near every single submission... BUT, clicking DOWNLOAD PDF of a single row, brings to a PERMISSION DENIED page...

i think there's a lot to do on this module, or where am i wrong???

mrshark’s picture

"access webform results" permission is what allow to see ALL the submissions, not only ones own... removing it, normal users do not access others any more...

i find that to give a user the possibility to print HIS OWN submission, i've to give him the "edit own webform submissions" that brings the DOWNLOAD PDF button... but i DO NOT WANT to let them EDIT their submissions, not even less let them DELETE them! I want only they could DOWNLOAD PDF, how to have this and ONLY this behaviour?

the alternative is to go for the fillpdf module, plus webformtokens, and make e pdf module form that's populated by webform fields... i could make a pdf module form with openoffice, so...

jackhutton’s picture

this looks like exactly what i need ;
to have an anonymous user fill in a form for donations -but the form must be printed by the user for them to physically sign and hard-mail to the recipient.

but, it appears that there are issues w. anonymous users printing to pdf .. Keep working on this.. a real good idea..

I'll test it out..

thanks
eggonbeagle..

mr.york’s picture

Status: Reviewed & tested by the community » Active

Sorry for that I did not response soon, I was busy with other things.
I have just installed a new drupal and I have installed only the webform and webform2pdf modules.

I did these:

Step 1:
I created a new group and I give to it "access own webform submissions" permission.

Step 2:
I created a new user and I added it to this new group.

Step 3:
I created a new simple form with some new fields.

Step 4:
I switched on it, and the pdf generation enabled with this. I created a simple template.

Step 5:
I login with this new user and I fill this new form once time.

Step 6:
I can check my submission because there is a link on the form, with this name: "View your previous submissions."

Step 7:
Operations: I click to the "View" link.

Step 8:
I can download the PDF, because there is a "Download PDF" sub-menu item.

mrshark’s picture

thanks, i'll tried on a fresh install, and all works flawlessly... maybe other module caused my problems... :-(
i noticed some quirks, however: it's like having two tokens on 1 line produced a blank pdf, with a blank message box...
but i'll open an other issue as i test them on new install, as per this issue...

mr.york’s picture

Status: Active » Closed (fixed)

OK

fabrizioprocopio’s picture

I'm not a coder
anyway I afford an additional way to solve
A definite field to add to webform where put an email address where at the end the pdf is sent (and why not with a preview)

do you think it could works somehow?

fab

jackhutton’s picture

-- that sounds like a nice feature..
have you already added that?

mr.york’s picture

You need to swith on the 'General settings->Attach PDF as an attachment to the e-mails sent to the form recipients.' at the ?q=node/NID/edit/webform2pdf page and it will attach the PDFs to the webform specific mails.

This is what you want?

fabrizioprocopio’s picture

Before to proceed I explain better:
I mean:
when I create a new webform I want to be able to insert a field where user that is filling webform put his e-mail address.
The module must recognise that field as the user's e-mail (an anonymous one too, it's important) where at the end of the process the system must send the pdf, so every form could be sent (to the administrator if he set so) but also to the user mail (indicated in the webform)

the field could be present in the final pdf of the webform or could not be present (it is only a particular)

mr.york’s picture

Please choose, the mail specific field here: Edit Webform => Webform mail settings => Conditional e-mail recipients
If you set a mail address in this field then the webform will send mail to here too. If you set the PDF attachment at the webform2pdf then every webform specific mail will content this.

Other: Please create new issue for every new problem.

Thanks!

bosss’s picture

Hi All,

Iam using webform module with webform2pdf to generate pdfs.

Its working fine with admin credentials(He can down from Result tab).

1) When anonymos user fils the form how can he download pdf?

2) In my form email filed is there, when i submit's the form mail should go to user(email filed value) and admin as well with attachment.

Pls help me for these two,

Thanks in advance for ur help

shafter’s picture

1) You can provide access to the submissions to anonymus (non logged-in) user on the permissions tab. But it is sick and ill advised, as it will allow all site viewers to see all of the anomymus-submitted submission.
2) If using webform 3.x, you can add as many e-mail recipient, as you want in webform/emails tab, including the one, submitted on the form itself.