Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Embedded form in iframe keeps disappearing

Embedded form in iframe keeps disappearing

Scheduled Pinned Locked Moved Bug Reports
2 Posts 2 Posters 156 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Glyph
    wrote on last edited by
    #1

    I am pulling my hair out trying to troubleshoot an iframe issue. I have an embedded iframe in a blank page in Lay theme. The contents of the iframe is for a signup form, which sends the submission to a CRM (I have to use the iframe to do it). In Safari the iframe and form load fine. In Chrome, the iframe/form flashes on, then disappears.

    I have no clue what is causing this issue. I have tested on other machines and the behaviour is the same.

    Has anyone ever come across this strange bug with iframes in Lay theme? The code is below (with private details removed):

    <iframe
      src="https://theurl.com/widget/form/WUISI7LNR"
      style="width:100%;height:100%;border:none;border-radius:0px"
      id="inline-WUISI7LNR" 
      data-layout="{'id':'INLINE'}"
      data-trigger-type="alwaysShow"
      data-trigger-value=""
      data-activation-type="alwaysActivated"
      data-activation-value=""
      data-deactivation-type="neverDeactivate"
      data-deactivation-value=""
      data-form-name="Website Enquiry"
      data-height="400"
      data-layout-iframe-id="inline-WUISI7LNR"
      data-form-id="WUISI7LNR"
      title="Website Enquiry"
          >
    </iframe>
    <script src="https://theurl.com/js/form_embed.js"></script>
    
    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #2

      seems like the issue was you needed to set a different height for your iframe no?

      like <iframe style="height: 500px;" …

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      I also code custom websites or custom Lay features.
      šŸ’æ Email me here: šŸ’æ
      info@laytheme.com

      Before you post:
      1. When using a WordPress Cache plugin, disable it or clear your cache.
      2. Update Lay Theme and all Lay Theme Addons
      3. Disable all Plugins
      4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

      This often solves issues you might run into

      When you post:
      1. Post a link to where the problem is
      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
      Online Users
      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
      laytheme.com
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Search