Hey folks,

When creating my pdf I want some things just to appear if $field ist filled out. I mean it needs to be possible to distinguish I just dont find a way to do it.

Is there a way to transform the drupal tokens into php-variables? Any possibility of creating the whole pdf only with php?

I have a damn long webform with a lot of conditionals but things start to get tricky even with easy parts.

e.g. somebody enters a different shipping adress than billing adress.

I want to print like
billing adress: street1, zipcode1, city1
shippingadress: street2, zipcode2, city2

in case shippingadress is the same like billing adress I dont want to print shippingadress at all.
or at least: shipping adress: like billing adress

So I need to check somewhere whats filled in and then decide what to print. (if then logic)

This seems so simple for me but I fear this module doesnt cover this.

Is there any solution for this? Please help!

kind regards,

shnifti