Hi,

I'm using FillPDF with Webform and Webformtokens. I've followed all the instructions in the documentation (added a form/fields to my PDF, uploaded, made a webform, added fields to FillPDF with [webform-val-token_id_here]).

After filling out the webform, I follow the example link to download the PDF. After downloading and trying to open the document, Acrobat says that the file is either an unsupported type or is corrupted.

I noticed you can enter any fid/nid and fillpdf will allow you to download any pdf - but i'm positive my fid and nid are correct. I am using clean URLs also.

Not sure what the problem is - but totally looking forward to having this working! Thanks for any help!

Comments

audecide’s picture

Solved my own error - it was already mentioned here in issues and I had overlooked it. I have drupal hosted in a subdirectory of localhost, and FillPDF had the file listed under "localhost/sites/..." rather than "localhost/drupal/sites/...."

Working great! Thank you!

audecide’s picture

Status: Active » Closed (fixed)