Dynamically Change Landing Page Heigth based on Progressive Profiling Form Heigth | Community
Skip to main content
January 14, 2013
Question

Dynamically Change Landing Page Heigth based on Progressive Profiling Form Heigth

  • January 14, 2013
  • 3 replies
  • 1108 views
Hey team,

I have a landing page that has a progressive profiling form on it. This form changes in length depending on how many questions they have asked previously. I have noticed that my form exceeds the length of my landing page at some stages of the progressive profiling. I was wondering, is there a fix to allow the landing page to dynamically change its height based on the length of the form?

Thanks,
Dex
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

January 14, 2013
This could be done with some custom Javascript where you check the form fields that are visible and then change some of the CSS on the page to extend it out. It might be a little complex, but it should be possible.
January 14, 2013
You can also try a 2 column form. You just need to add a script to the Template or to the page using Custom HTML.
January 15, 2013
Dex,

If you've got some JS chops, you could try to use this code: http://stackoverflow.com/questions/5541115/set-div-height-using-jquery-stretch-div-height

Marketo's funky treatment of the DOM may prevent this from working, but it's worth a shot.