Remove blank space left by hidden elements

Forminator Forms
24 September, 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?
24 September, 2025 07:53:32
E2Pdf
Support
Topics: 7
Messages: 3540
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!
24 September, 2025 07:55:25
Gerrit
Topics: 1
Messages: 2
Thank you for your quick response!