Launch Lightbox from Click Event

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I'd like to make the user explicitly launch the lighbox by using a button and having this trigger the lightbox script. Can you provide help on how to trigger the script on a click event?

 <button type="button" class="btn btn-primary btn-lg">Subscribe</button>
Photo of Wilson Golf Group

Wilson Golf Group

  • 3 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 0
  • 1
Photo of Laura Dickerson

Laura Dickerson, Official Rep

  • 778 Posts
  • 64 Reply Likes
Hi There,

I am checking in on this for you. I should have an answer/instructions to you soon!
Photo of Laura Dickerson

Laura Dickerson, Official Rep

  • 778 Posts
  • 64 Reply Likes
Thanks for hanging in while I checked this out for you. The Emma Lightbox form will not support a click event. 

I checked with Tech Services and you could build a custom Lightbox form which behaves this way. If you are interested in having one of your Service team members talk to you about setting up a custom form, I can set that up for you.
Photo of Wilson Golf Group

Wilson Golf Group

  • 3 Posts
  • 0 Reply Likes
No thanks - I'll just launch a modal pop-up with the standard form embedded in the modal.