How to embed Form in Wordpress site?

  • jarrettchaney
    Asked on March 15, 2019 at 12:01 PM

    I am working on getting my form posted on my existing WordPress site.  I have tried it two different ways.


    Regular Embed

    Posting using the "regular" embed method (scripted) results in the PayPal button at the bottom of the form failing to load properly.  Instead of a PayPal button, I get a "file not found" graphic.  See attached screenshot


    IFrame Method

    I previously had used the "iframe" embed method, but this results in the entire form being cut off about half way down.

    Jotform Thread 1762205 Screenshot
  • roneet
    Replied on March 15, 2019 at 2:01 PM

    Could you please embed the iFrame code. We can adjust the height of the iFrame object by fixing the height or the scrolling property on testing it.

    Please embed this iFrame code without the Script part:

     <iframe
          id="JotFormIFrame-90685436242157"
          onDISABLEDload="window.parent.scrollTo(0,0)"
          allowtransparency="true"
          allowfullscreen="true"
          allow="geolocation; microphone; camera"
          src="https://form.jotform.com/90685436242157"
          frameborder="0"
          style="width: 1px;
          min-width: 100%;
          height:539px;
          border:none;"
          scrolling="no"
        >
        </iframe>

    If this code also do not work then we may play with the height and scrolling property to get it work. The iFrame code is usually recommended as it is free from Javascript conflicts on page.

    Thanks.

  • jarrettchaney
    Replied on March 15, 2019 at 4:23 PM

    I have changed over the page to use the iFrame version you sent.


    I increased the height of the frame to 1700px, and this allows the entire form to show up on the page.


    However, the issue with the PayPal button remains.

  • Girish JotForm Support
    Replied on March 15, 2019 at 5:55 PM

    I have tried to replicate the issue with the PayPal button using some different GIF but I was unable to replicate the same issue with the button.

    I request you to try using some other PayPal Image/GIF, and let us know if the issue still persists.

    We will be waiting for your response.

  • jarrettchaney
    Replied on March 16, 2019 at 12:43 PM

    It's working now.  Here's what I did:

    The PayPal button previously in use was whatever came as default on the form.  I don't know where it was being served from.  I downloaded a copy of the button to my desktop, then deleted the button from the form, then re-uploaded the same button back to the form.  

    I don't know why this fixed the issue, but it did.

    Thanks for your help!

  • Girish JotForm Support
    Replied on March 16, 2019 at 12:59 PM

    I'm glad you find it helpful. Our developers are continuously adding and looking for different features that would help our users better.

    If you have other concerns or questions, do not hesitate to create a new thread here in the forum, we'll be more than happy to help.