Open A Lightbox in Code

Hello,
I’m having troubles with something:
i’m creating my own sign up process instead of using the wix standard one, and it works in two steps; first step for email and password, and second step for name, username etc… Here’s my code for the first lightbox (step 1) :


And instead of the

wixLocation.to('/rejoin-confirmation')

i would like a

wixWindow.openLightbox('Step 2')

but I tried this and it didn’t work…

Does anyone can help me?

Hey!

Did you remember to import wixWindow before using the method?

Doron.

1 Like