I've made a form that has a few hidden field elements to it and have created the embed to get it on a page.
Once embedded it creates an iFrame. However to get the iFrame to be the size I want, I have to create static height and width in order to get rid of the scrollbar (No scrolling="no" will not give me the desired effect either). The iFrame doesn't automatically size to content within the iFrame.
Unfortunately, making static height doesn't bode well for my design. I have to make the iFrames height larger than the form itself to accommodate for the hidden fields. Thus leaving a huge gap below the form, ruining the design of the rest of the page.
It would be ideal for the iFrame to automatically pick up the height of the content within the form when hidden fields are collapsed as well as when they are unhidden.
In other words. When the fields are hidden the height of the form would automatically be 960px in height and the when they aren't hidden the iFrame would resize to 1060px in height.
I'm curious as to whether anyone has had this dilemma before and has create a solution that would solve the problem.