#1768 – Embedded form height

Posted in ‘The Booking Form integration’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 22 May 2020 15:50 UTC
 Dear Support,

Tell me please, is it possible to modify the iframe code for embedding form to my website, in order to have the form height adapted to the content of form and to avoid appearing of scroll bar? Because the first screen of form has, let's say, 980 px height, but the second screen with the cars is already a much bigger...

Thank you.
 
Friday, 22 May 2020 18:47 UTC
Hi Nicolas,
this is a very easy fix - just change the Height of the iFrame code, make it whatever suits you. We have noticed that it is best to have it at 1600 px for a large number of car results.

Hope this helps.
Kind regards.
Free images for your Social Media campaigns! Get them from our Facebook Group
Saturday, 23 May 2020 12:26 UTC
No, sorry, the question wasn't about how to edit the iframe code to change the form height.

My point was how to make the form height auto-adjustable.

For example, on the first booking screen form height is automatically 980px, just to cover the content of the form and not to leave white space after. On the second screen the heght must be automatically 1600px (for example): to show all the vehicle classes without right scrollbar. And so on.

Do you understand?
 
Sunday, 24 May 2020 15:12 UTC
Hi Nicolas,
unfortunately, iFrames do not allow this - if they did we would have made it automatically.
iFrames are meant to have a set height and can not change with the javascript that's controlling each step of the booking process.
Modern browsers are limiting iFrame functionality more and more - they don't allow automatic setting of cookies through iFrame and this is why Safari (and soon Chrome) ask the user to accept cookies and set the browser to always accept cookies which will not be set to Yes by default. Also, online payment processors don't like iFrame redirects and ask for an extra step of human interaction to approve the re-direct.
The point of all that is we have to adapt to those changes as we can not affect them and it is best that you start opening the booking form in a new browser window through a Book now (or similar) button or link on your website.
We may have to add the possibility to upload your company logo to the booking form so the user is reassured they are still dealing with your company.

Hope this helps.
Kind regards.
Free images for your Social Media campaigns! Get them from our Facebook Group
Monday, 25 May 2020 15:10 UTC
OK, I see. Thank you.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.