Jump to content

Code block issues

Go to solution Solved by creedon,

Recommended Posts

  • Replies 4
  • Views 468
  • Created
  • Last Reply

Top Posters In This Topic

Something in the code block is interfering with the page (obviously). It's not really a Squarespace issue. Where did the code come from? Debugging code is typically complicated and time consuming, but if you paste the code here, someone might be able to see if there's an obvious problem.

Link to comment

Thanks qosmic! Here is the code: 

 

<iframe
          src="https://api.leadconnectorhq.com/widget/form/kPbrzu1H0jnCHPBsUWfR"
          style="width:100%;height:100%;border:none;border-radius:6px"
          id="inline-kPbrzu1H0jnCHPBsUWfR"
        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="FORM (WEBSITE)"
        data-height="492"
        data-layout-iframe-id="inline-kPbrzu1H0jnCHPBsUWfR"
        data-form-id="kPbrzu1H0jnCHPBsUWfR"
        title="FORM (WEBSITE)"

</iframe>
        <script src="https://link.msgsndr.com/js/form_embed.js"></script>

 

Link to comment
  • Solution

The code is malformed. It is missing a > on the opening tag. This causes a rendering error.

<iframe

  src="https://api.leadconnectorhq.com/widget/form/kPbrzu1H0jnCHPBsUWfR"
  style="width:100%;height:100%;border:none;border-radius:6px"
  id="inline-kPbrzu1H0jnCHPBsUWfR"
  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="FORM (WEBSITE)"
  data-height="492"
  data-layout-iframe-id="inline-kPbrzu1H0jnCHPBsUWfR"
  data-form-id="kPbrzu1H0jnCHPBsUWfR"
  title="FORM (WEBSITE)"
  
  >
  
  </iframe>
  
<script src="https://link.msgsndr.com/js/form_embed.js"></script>

This is after the correction.

ScreenShot2023-05-09at5_51_00PM.png.83d78e2030b2efd8fa1f70dd3127a2b8.png

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.