Remove empty space left by empty mapped filed

Gravity Forms
20 April, 2023 05:36:55
cvla
Topics: 6
Messages: 22
Hi,

Is it possible to remove the empty space left by e2pdf-html if mapped field does not have any values and the field below should take its place in the pdf
20 April, 2023 06:06:21
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,

If it's just a "single" case, you can use "Actions" and "Conditions" to "Hide" an empty 1st element and change the 2nd "Element Position Top" dynamically. See please Screenshot 1, Screenshot 2.

If it's not a "single" case, you can try to dynamically add content to the "single" HTML object instead of "different".

1st possibility:
Use the Conditional Shortcodes: https://docs.gravityforms.com/conditional-shortcode/. See please Screenshot 3. "Disable WYSIWYG Editor" option is recommended to be checked.

2nd possibility:
Dynamically add values to the "HTML" object via "Actions" and "Conditions". See please Screenshot 4.

We would really appreciate your feedback at WordPress.org!
24 April, 2023 06:24:44
cvla
Topics: 6
Messages: 22
Hi,

I tried the 3rd option and I'm facing another issue.
if the content exceeds the page length in the single field, the remaining data is lost
is there a way to dynamically extend the single field to next page. So that the remaining data in the same field is visible on the next page
24 April, 2023 06:32:07
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,

Yes, if the page must be the same, just check "Multipage" option under the "HTML" object. Screenshot 1.

If not the same, you need to create another page and set "Parent" to the main "HTML" object ID with "Multipage" and "Hide Page (If Empty)" options set. Screenshot 2 (Get the ID), Screenshot 3 (Set the "Parent" and other options).
We would really appreciate your feedback at WordPress.org!
10 May, 2023 22:47:06
cvla
Topics: 6
Messages: 22
It worked! Thankyou.