Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Delete entire line if field is empty

Return to Member Forum

  • Author
    Posts
    • #1228617
      Anonymous
      Inactive

      I’m working on automating donations and was wondering if, when using Data Merge, it is possible on export of the pdf file to auto remove a line, if those fields don’t have any data in them.

      Per example,

      Donation Amount / $<<Amount2>>
      Date of Donation / <<Date1>>

      Donation Amount / $<<Amount2>>
      Date of Donation / <<Date1>>

      After Data Merge,

      Donation Amount / $120
      Date of Donation / Feb 12 2020

      Donation Amount / $
      Date of Donation /

      Goal is to remove the bottom two lines if there isn’t a second donation turning it into this,

      Donation Amount / $120
      Date of Donation / Feb 12 2020

      Thank you in advance for your help.

    • #14323083
      Brian Pifer
      Participant

      Just use Find/Replace after you’ve created the document?

      Find in Grep would be: Donation Amount / \$\rDate of Donation /\r

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Forum Ads