How to remove blank lines from pdf generated by Fillpdf module?

Created on 2 August 2023, over 1 year ago
Updated 4 August 2023, over 1 year ago

Problem/Motivation

I am using Fillpdf module to generate pdf by using webform tokens. If any webform tokens doesn't hold any value that shows blank lines in generated pdf file. I wanted to remove those blank lines if webform tokens are empty.

Example

[date:custom:M d, Y]

Via [webform_submission:values:computed_plan_to_send_method]

[webform_submission:values:what_is_the_name_of_the_corporation_partnernship] 
[webform_submission:values:address]
[webform_submission:values:computed_name] 

        Re: Return of Security Deposit

Here in some cases, address and computed_name comes empty and that added blank line into pdf. Please anyone can assist me in.

Thanks!

🐛 Bug report
Status

Closed: won't fix

Version

6.1

Component

Code

Created by

🇮🇳India reshma.i

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024