How can I make the form frame dynamically change when embedded?

  • Triplemintmarketing
    Asked on October 30, 2019 at 7:38 PM

    Hi! My form length is dynamic based on the options chosen, how can I make the frame also size dynamically to account for this and make sure that it also displays properly on mobile?

  • KrisLei Jotform Support
    Replied on October 30, 2019 at 11:18 PM

    Hi,

    May I ask which form are you referring to? Forms are now mobile responsive by default this means no further configuration is required.

    Also, you can verify if the form displays correctly on a mobile device, tablet or on desktop while on Preview mode on the form builder.

    1572491639preview mode Screenshot 10

    However, if there are some issues on the display and needs further configuration you can inject custom CSS codes on the form. 

    Customize Your Form Using Custom CSS Codes

    How to Inject Custom CSS Codes

  • theagencymarketing
    Replied on October 31, 2019 at 10:25 AM

    Hi KrisLei,


    Thanks for your response. I should have asked the question in a more clear way:


    I'm embedding my form onto a google site. I want to make the size of the embed dynamically adjust as the form gets longer based on the selections chosen. Right now when the form changes, the frame it's contained in stays the same and results in the need to scroll within it which takes away from the integrated feeling of the embed.


    Thanks,

  • Richie JotForm Support
    Replied on October 31, 2019 at 12:43 PM

    Can you please share the web page you have embedded the form?

    I have checked your form and it seems to be mobile responsive.

    May we know the embed code you have used?

    Looking forward for your response.