-
DinsioAsked on April 6, 2025 at 1:37 PM
When I embed a light box on my site.... the button opens the light box, but there is no form showing inside the lightbox until you go to close the lightbox popup, then the form shows up???
Its the weirdest thing? I can't figure out why its doing that? I have another form using the lightbox feature on that same site and it is working just fine!
Please help!
-
Aries JotForm SupportReplied on April 6, 2025 at 3:40 PM
Hi Daniel,
Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.
-
Aries JotForm SupportReplied on April 6, 2025 at 4:24 PM
Hi Daniel,
When I tested your website, I was able to replicate the issue. It appears that the form has been embedded twice on the same page with different button placements. To resolve this, could you try re-embedding the Lightbox code for the second button in the bottom section of the page using the code provided below?
<script src='https://cdn.jotfor.ms/s/umd/latest/for-form-embed-handler.js'></script>
<!-- Lightbox Button for First Instance -->
<a class="btn lightbox-250775011236046"
id="lightbox1"
style="margin-top: 16px; text-transform: uppercase; font-size: 14px; text-decoration: none; cursor: pointer; display: inline-block; padding: 10px; font-family: inherit; text-shadow: none; user-select: none; transition: all,.1s,ease-in; background-color: #101c2f; border: 1px solid #101c2f; color: #f4f4f6;">
Book Michael or Paula to Speak
</a>
Give it a try and let us know how it goes.
-
DinsioReplied on April 6, 2025 at 4:59 PM
Dude you nailed it!
Thanks so much!
Its working great now.
Your Answer
Something Went Wrong
An error occurred while generating the AI response. Please try again!