- johnboy666Asked on September 25, 2014 at 09:19 AM
I have read the forum answers and used the source code to embed form into ebay listing.
Is there a way around this?
Thanks in advance,
John Reimann.Page URL:
- johnboy666Answered on September 25, 2014 at 10:20 AM
Well I have found a very crude work-around but I'm not sure if it will get me in trouble.
I downloaded my jotform as an iframe - Then uploaded it to an external host (where my website is located).
I then called that iframe from my ebay listing by breaking up the work (iframe):
<script>document.write('<i'+'frame src="mysite.com/myjotform.html" width="100%" frameborder="0" scrolling="no" hspace="0" height="800"></i'+'frame>');</script>
It works - BUT I'd love a better solution as I'm not convinced I won't get caught out.
- JotForm SupportEltonCrisAnswered on September 25, 2014 at 11:32 AM
The form depends on that script, without it, the form will not function properly. I was thinking eBay is stripping these codes perhaps? Have you tried the iframe embed code without its script? http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code
<iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/42671425954965" frameborder="0" style="width:100%; height:2347px; border:none;" scrolling="no"></iframe>
Do not include the script below.
If this doesn't work then I think your workaround is the best solution. Ebay seems very strict with embed codes and there's nothing we can do about it, unfortunately.
Thank you so much!