Remove blank space left by hidden elements

Forminator Forms
September 24, 2025 07:29:37
Gerrit
Topics: 1
Messages: 2
I have created a form in Forminator, and linked it to E2PDF. In E2PDF, i make certain fields hidden on the condition that they are left empty. So in other words, when the user submits the form, and skipped certain fields, then E2PDF makes those (skipped) fields hidden. The problem is those hidden fields leave a blank space, so now altho they are hidden, it leaves a blank space, making the form look unstructured. Is there a way by which i can make it to where these fields are either moved to the bottom of the page, so that they do not cause blank spaces between fields that are not hidden, or make it to where they dont cause a blank spot?
September 24, 2025 07:53:32
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

Currently, there is a way to change element positions via actions: https://e2pdf.com/docs/actions/element#hide-dynamic-position-change

However, it can be currently a bit tricky and difficult to set up and manage because E2Pdf uses absolute positioning for elements. We are working on rebuilding this functionality, but there is currently no ETA.

Note: You should use Forminator field slugs syntax instead of the example shown ([4], [18]).

Relative positioning is possible, but only if all content is built within a single large HTML object using HTML syntax and [e2pdf-if] shortcodes.

As an alternative, you could try just adjusting the layout so that the client type and business name are on a single line on left and right, which makes it easier to hide and show without changing positions.

We would really appreciate your feedback at WordPress.org!
September 24, 2025 07:55:25
Gerrit
Topics: 1
Messages: 2
Thank you for your quick response!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.