I can't get the referrer code working

  • Profile Image
    guest_23266997080059
    Asked on December 12, 2012 at 01:29 PM

    Hey,

     

    Not working on my blogger site with iframe:

     

    http://www.homeinrio.com/2012/12/test-13.html

     

    the whole form doesn't appear, looks like the document.write isn't wroking? Any thoughts?

     

    Thanks,

     

    KH



    This is a re-post of a comment on Capture the Page URL Where the Form is Embedded

  • Profile Image
    idarktech
    Answered on December 12, 2012 at 01:54 PM

    Correct code:

    <script type="text/javascript">document.write("<iframe allowtransparency=\"true\" src=\"http://form.jotformz.com/form/23266830288661?property9=" + window.location.href + "\" frameborder=\"0\" style=\"width:100%; height:551px; border:none;\" scrolling=\"no\"></" + "iframe>");</script>

    Please avoid bringing down the codes to a new line, that could be the reason why it doesn't display.

    Thanks!

  • Profile Image
    DanielJGarvey
    Answered on January 03, 2013 at 09:45 AM

    That exactly fixed my problem! Thanks again!