Form relatively positioned (jQuery hide/show blank spaces)?


I’m using jQuery to hide/show some fields of my Unbounce form.

Yet the hidden fields leave blank spaces where they’re supposed to be (no dynamic positionning of the fields with the show/hide)

I understand that this is because the elements on the page are not relatively positioned, but are positioned with exact coordinates, which prevents dynamic positionning (the fields stay put) (Conditional Drop-down Menu for Form)

Is there a way to position the elements on my page relatively?

Thanks for your help!

Hi @rolat,

Yes, you can position your fields with some JS and CSS.

The exact code would be highly dependable on your form and fields.