Hello,

this seems to be a great module, and is exactly what I was looking for my website. The only problem is that I can't make it work. I followed all the steps in the instructions. I created a simple form using OpenOffice, with just one field for testing, which I called ID. When I upload the PDF, it recognizes the field. I want to import the fields of a simple page into the PDF: just the uid of the user that created the page. Then, in admin/content/fillpdf/10 I edit the single field of the PDF and I write [field-uid]. And then I make a webpage with the sample PHP code:

echo l("PDF", fillpdf_pdf_link($form_id = 10, $node_id = 2634));

The problem is that when I click the link, the generated PDF field is filled with [field-uid], and not with the uid of the user that created the page.

Could you please help me explaining what I am doing wrong?

Thank you.

Comments

lefnire’s picture

try [uid] or [author-uid] , unless you've explicitly created a cck field called "field_uid"

lefnire’s picture

Status: Active » Fixed
lefnire’s picture

Title: Helping on making it work » how to pull user ID

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.