CMS Development

ShuttleOps
Member

Keeping height on hs-form-iframe static between form and thank you post

I currently have my thank you note generating on the same page as the form after the user submits the form, but the height of the form and thank you message as different and it pulls all the content from below the form up upon generating the thank you.

 

I noticed that there is a iframe element with the id: hs-form-iframe-0 and class: hs-form-iframe that has styles built directly into the element, with the form having a height of 664px, which then changes to 18px upon submission.

Is there a way to make this static andf leave it at 664px? The class or id does not change upon submission, so targeting them in css wouldn't solve the issue.  

 

If anyone has any suggestions it would be appreciated!

0 Upvotes
1 Reply 1
lscanlan
HubSpot Alumni
HubSpot Alumni

Keeping height on hs-form-iframe static between form and thank you post

Hi @ShuttleOps,

 

I have some experience with editing form-submitted pages. Could you link me to your page? I'm happy to take a look and offer suggestions.

 

Thanks,

Leland

Leland Scanlan

HubSpot Developer Support
0 Upvotes