Notifications
Clear all

how to make sure that google forms are responsive

6 Posts
2 Users
0 Likes
523 Views
Posts: 3
Topic starter
(@safwan-ahmad)
Active Member
Joined: 11 months ago

Hi, i have paid version, i added google forms URL in the iframe, but still the scroll bar is there and the plugin does not detect its height automatically. 

please help

5 Replies
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

Hi,

have you seen this: http://www.tinywebgallery.com/blog/advanced-iframe-resize-to-content-summary

Google forms are not on your server. And I think you are not able to include Javascript there. 

Have you checked if there is a resize script included you can use?

Please see https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/integrate-iframe-sizer-script

If you set use_post_message="debug" then you will see if the form sends any height info. If this is the case then a small custom Javasript can solve your height issue.

Best regards,

Michael 

 

Reply
Posts: 3
Topic starter
(@safwan-ahmad)
Active Member
Joined: 11 months ago

Thanks for reply. But I found no reference about google forms in the articles. 

Reply
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

This is what you need for auto height. Somehow you need to know the height of the content. This is what you need somehow. Either by adding my Javascript to the page or if the page is already sending the height. For google forms I think you will not be allowed to add Javascript. Still It could be that they already send the height by post message already. An my plugin is able to also use this by adding a small Javascript. 

Best regards, Michael

Reply
1 Reply
(@safwan-ahmad)
Joined: 11 months ago

Active Member
Posts: 3

Posted by: @admin

 by adding a small Javascript. 

Best regards, Michael

Thankyou Mr. Michael for the reply. Please can you tell me where do I add this small JavaScript, in WordPress theme, on url of the page I am putting iframe in, or in the iframe block during editing or in the settings of iframe plugin? 

 

Reply
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

Please see the administration of advanced iframe -> external workaround. There it is described in detail.

You need to add this to the page IN the iframe. Like I mentioned before. I do not know if you are allowed to do this in google forms.

Best regards,

Michael

Reply