-
majeemAnswered on September 10, 2019 06:53 AM
This is my embed code in my page HTML https://d.pr/i/MRzQ6V but it is showing a Blank Page. what am I doing wrong?
-
jherwinAnswered on September 10, 2019 08:14 AM
Please try embedding the form using the iFrame method: Getting-the-Form-iFrame-Code and see if that will work on your end.
Please give it a try and let us know how it goes.
-
majeemAnswered on September 10, 2019 11:11 PM
i-frame works. I want this to work to be able to auto adjust to page size.
-
John JotForm SupportAnswered on September 11, 2019 01:17 AM
Hi @majeem,
If you used the iframe embed code, it comes with the script that automatically adjusts the iframe's height.
Could you please share the link to your webpage where the form is embedded so we could check?
-
majeemAnswered on September 11, 2019 02:02 AM
I didn't use i-frame. I used the embed code. This is how my HTML looks like https://d.pr/i/MRzQ6V
-
John JotForm SupportAnswered on September 11, 2019 02:27 AM
Yes, that will work.
But if you want to customize the height property, you can use the iframe method that my colleague has suggested above.
Here's a similar thread which you can also check: How-to-change-the-height-of-the-embedded-Iframe
Let us know if you need further assistance on this.
-
majeemAnswered on September 11, 2019 02:35 AM
That HTML file is not working. Just White Blank page.
-
John JotForm SupportAnswered on September 11, 2019 02:40 AM
Could you please place the script inside the <body> of the HTML? It should work.
Here's a sample code I used:
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset="utf-8">
<title>test only</title>
</head>
<body>
<script type="text/javascript" src="https://form.jotform.com/jsform/92530557486970"></script>
</body>
</html>
-
majeemAnswered on September 12, 2019 01:00 AM
Still Blank , this is the code https://d.pr/i/P1vT8u
-
majeemAnswered on September 12, 2019 01:03 AM
Your form works, not mine.
Because its password protected? Or a Card type form?
-
Victoria_KAnswered on September 12, 2019 01:08 AM
Hi! Could you please link your web page where form is embedded so we checked it closer?
-
majeemAnswered on September 12, 2019 01:18 AM
-
Victoria_KAnswered on September 12, 2019 02:07 AM
You are right, the form is not loaded because of password protection. I will attach a ticket to this thread so our developers could take a look. In the meantime I can only suggest to use iframe embed option, it would work pretty same way as regular script method.
We will inform you when an update for this ticket is available. Thank you for cooperation on this!
-
majeemAnswered on September 12, 2019 03:08 AM
Even with i-frame the bottom of the page looks like this https://cl.ly/4fee36
The i-frame height is set to 1500px https://cl.ly/194d51
-
Victoria_KAnswered on September 12, 2019 05:11 AM
Please try setting 1500px as min-height:
Example:
<iframe id="JotFormIFrame-91364604129961" title="test form" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/91364604129961" frameborder="0" style=" min-width: 100%; height:539px;min-height: 1500px;
border:none;" scrolling="no" > </iframe>
-
cemalAnswered on February 03, 2020 07:42 AM
Hello,
Sorry for the inconvenience caused. Problem should be resolved right now. You can use direct embed for your password protected forms.Please let us know if you need any further assistance.
Regards,
Cemal