Adjust div height to iFrame height

Hi all,

I integrated a survey via iFrame to my website
https://festival.fiasco.dance/

After submitting the contact form the user gets a confirmation sign on the top of the iFrame, but the user can’t see it as he is on the bottom of the page (where the survey ended). I want the user to be sent to the top after submitting the form. How can I automatically adjust the height of the iFrame to its content?

thanks for your help
Saseju

Hello @Saseju,

Thanks for writing in! Be advised that the height of the DIV container depends on the height of your Iframe. If the iframe is longer, the height of the DIV container will also be longer. And also, since your form is in an Iframe, you cannot instruct that after submitting the form, it scrolls on top of the DIV. Any form of action will only affect with in the iframe source. It cannot go beyond outside the iframe.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.