Need to embed Popup or Lightbox triggered by button on site.

  • Profile Image
    eliang
    Asked on April 14, 2019 at 10:23 PM

    Hi, javascript doesn't work with my web host, so is there a way that I could create a Button on my splash page that will pull up a JotForm as a Popup or Lightbox when the Button is clicked? I'm working in Cargo Collective.

    I have not added the Button yet because there's no point if it won't work.

    Thanks,

    Lisa

  • Profile Image
    roneet
    Answered on April 15, 2019 at 04:53 AM

    Your concern is already addressed in this thread by my colleague:

    https://www.jotform.com/answers/1590262

    Please follow up to the above thread.

    Thanks.

  • Profile Image
    eliang
    Answered on April 15, 2019 at 05:43 PM
    Hi, this actually doesn’t answer my question. I need to know how to create the visible Button that will trigger the Lightbox. I know how to make the Lightbox per JotForm’s instructions below, but I don’t know how to attach it to a visible button on the website. I’d like visitors to press a Button that says “Get Started” that will trigger the Lightbox.
    Can you tell me how to attach or link a Lightbox to a visible button on a website?
    Thanks.
    ...
  • Profile Image
    Jed_C
    Answered on April 15, 2019 at 07:41 PM

    You can't embed a lightbox without using JS. If you need to embed this form http://www.jotform.us/form/82486494970169 with a clickable button, please inject the code here https://pastebin.com/hTfMGice.

    1555371759lightbox_button.gif

    I've provided the code in case it will work, but again lightbox won't work without JS.

    Let us know if you have any questions or if you need further assistance.