GravityPDF / gravity-pdf

Gravity PDF is a GPLv2-licensed WordPress plugin that allows you to automatically generate, email and download PDF documents using Gravity Forms.
https://gravitypdf.com
88 stars 21 forks source link

Process Populate Anything Tags in $form_data array #1455

Closed jakejackson1 closed 1 year ago

jakejackson1 commented 1 year ago

Description

Resolves problems in custom PDF templates.

Testing instructions

  1. With Gravity Wiz and Populate Anything Perk installed, import this Gravity Form simple-populate-anything-form.json.txt (remove the .txt extension)
  2. Submit a test entry by filling out the name field
  3. Configure a Core PDF template on the form with the Show HTML Fields setting enabled, and verify the live merge tags in the HTML are processed
  4. Configure a custom PDF template on the form and echo the $form_data['html_id'][5] HTML field, and verify the live merge tags are processed in the HTML

Screenshots

Checklist:

Additional Comments

codecov[bot] commented 1 year ago

Codecov Report

Merging #1455 (8050dff) into development (f9649f0) will increase coverage by 17.58%. The diff coverage is n/a.

:exclamation: Current head 8050dff differs from pull request most recent head e06d693. Consider uploading reports for the commit e06d693 to get more accurate results

@@                Coverage Diff                 @@
##             development    #1455       +/-   ##
==================================================
+ Coverage          75.71%   93.30%   +17.58%     
==================================================
  Files                243       57      -186     
  Lines              12828     1464    -11364     
  Branches             370      370               
==================================================
- Hits                9713     1366     -8347     
+ Misses              3107       90     -3017     
  Partials               8        8               

see 186 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.