Adding an active Opt-In Check Box to a Lightbox element

Hi there, new to the community so thanks for having me!

I am looking to add a mailing list subscription box to our site, and the pop-up functionality of the Lightbox app seems very valuable as a tool to engage visitors and drive subscriptions. However, to remain compliant I also need subscribers to actively opt-in to receiving our emails. This functionality is currently possible via the Wix “get subscribers” app but not via the Lightbox app.

After speaking to Wix support on the phone, they suggested that WixCode was the only solution. While I could add a basic HTML frame to the Lightbox for the checkbox, I need the checkbox to interact with the rest of the Lightbox, so that the subscription functionality is toggled off until the check box is ticked, and this won’t be possible with the HTML frame.

So, is it possible to add this in with WixCode, and if so what is my starting point? Admittedly I am not a coder, but I’m keen to try, and I figure this should be quite a simple element to add in…

You can add just about any component that you want to a Lightbox . You can use a Lightbox to create an input form which includes the checkbox. With some code, you can use the current value of the checkbox to enable/disable whatever fields or buttons that you want.

The Wix Code Resources provides tutorials, examples, and articles on getting the most out of Wix Code. We are happy to get you pointed in the right direction.

Hi Yisrael, thanks for the reply, much appreciated.

Do you mean to say that I don’t need to get involved with Wix Code to achieve what I require? Sorry, I’m not sure what you were trying to say by “With some some”, but it looks like useful advice!!

@rossnicholson Ooops, I meant “with some code”.

@yisrael-wix OK, thanks.