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

  • 28 August 2020
  • 1 reply
  • 8 views

Hello,

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!


1 reply

Userlevel 7
Badge +3

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.

Best,
Hristian

Reply