Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

How to make fields move up automatically when another field is hidden?

Questions related to using nuBuilder Forte.
yvesf
Posts: 348
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 94 times
Been thanked: 12 times

How to make fields move up automatically when another field is hidden?

Unread post by yvesf »

Hi everyone,

In my nuBuilder form, I hide certain fields dynamically using JavaScript (for example, nuHide('fieldID')).
However, when a field is hidden, the other fields below it stay in the same position — leaving an empty gap.

Is there a way to make the following fields automatically “move up” to fill that space, similar to how elements flow in standard HTML layouts?

Ideally, I’d like to avoid manually repositioning each field if possible.
If it requires JavaScript or a specific layout technique (like subforms or div sections), I’d really appreciate some guidance or examples.

Thanks in advance!

Yves
Post Reply