when I Insert a token of a custom field to print a pdf letter all built-in token seems working but not the custom ones, no value works, regardless of the number I put in the token. Do you know where the problem is please? enter image description here

this is the link where I got "50" from :http://abcd.org/civicm/...update?action=update&reset=1&gid=18&id=50

1 Answer 1


what you are trying to do is to print Gift-Aid custom value in the PDF letter so you need use Token hooks - and assign an new token name for the gift-aid custom values by creating an new extension so the token will be available in the drop down list and you can print the values

do the same for all custom values

  • I am printing PDF from contact_summary screen. And I do not have any PDF extension..
    – Tapash
    Aug 26, 2015 at 11:56
  • Which version of Civicrm are you using - I have just created an Example in Demo (d46.demo.civicrm.org/civicrm/contact/view?reset=1&cid=202) try this please Aug 26, 2015 at 11:59
  • I'm on civicdm 4.6.8
    – Tapash
    Aug 26, 2015 at 12:00
  • did you check my example against Demo - that is working fine - so please try to reinstall civicrm again - if possible Aug 26, 2015 at 12:01
  • Yes, I have tried on demo site prior to posting and it was working fine. My site is a production site, don't I have to do all over again if I reinstall civi?
    – Tapash
    Aug 26, 2015 at 12:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.