# Going directly to Signup or Login lightbox

**URL:** <https://forum.wixstudio.com/t/going-directly-to-signup-or-login-lightbox/68983>\
**Category:** Ask the community\
**Tags:** wix-forms, wix-members-area, question, code\
**Created:** [February 22, 2025, 12:11am UTC](https://forum.wixstudio.com/t/going-directly-to-signup-or-login-lightbox/68983 "2025-02-22T00:11:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ross\_Comer](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ross_comer/32/99689_2.png) [@Ross\_Comer](https://forum.wixstudio.com/u/Ross_Comer)\
**Post date:** [February 22, 2025, 12:11am UTC](https://forum.wixstudio.com/t/going-directly-to-signup-or-login-lightbox/68983/1 "2025-02-22T00:11:45Z")

</div>

**Question:**  
How do I specify in code whether to bring up the Signup or Login lightboxes?

**Product:**  
Wix Studio

**What are you trying to achieve:**  
I would like to have “Sign Up” and “Login” buttons on my Homepage that take users to the appropriate lightbox. The Sign Up button would be right under a marketing blurb “Join us because we’re going to solve your every problem.” 😉 The Login button will be in the upper-right corner for existing users (yes, potentially duplicative of the Members menu).

**What have you already tried:**  
Reading the docs, it seems like I can only select which lightbox (signup or login) is displayed by default.

**Additional information:**  
I’m fine creating custom forms in Velo if needed but I really don’t need to so I’d rather not if possible. I’m also fine creating custom pages that then pop up the specific lightbox if that would help.

---

<div class="post-metadata">

**Author:** ![Pratham](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pratham/32/119586_2.png) [@Pratham](https://forum.wixstudio.com/u/Pratham)\
**Post date:** [February 22, 2025, 2:48pm UTC](https://forum.wixstudio.com/t/going-directly-to-signup-or-login-lightbox/68983/3 "2025-02-22T14:48:03Z")

</div>

When using the **[promptLogin()](https://dev.wix.com/docs/velo/apis/wix-members-frontend/authentication/prompt-login)** function in **wix-members-frontend** , you can set the `mode` to either `"signup"` or `"login"` depending on which button the user has clicked.

 ![Screenshot 2025-02-22 at 8.16.10 PM](https://us1.discourse-cdn.com/wix/original/3X/4/2/426c8009fe3b01b0c7399f6bba08304b5b521df8.png)

---

<div class="post-metadata">

**Author:** ![Ross\_Comer](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ross_comer/32/99689_2.png) [@Ross\_Comer](https://forum.wixstudio.com/u/Ross_Comer)\
**Post date:** [February 22, 2025, 3:15pm UTC](https://forum.wixstudio.com/t/going-directly-to-signup-or-login-lightbox/68983/4 "2025-02-22T15:15:09Z")

</div>

@Pratham That is EXACTLY what I need. Thank you SO much for the quick answer!

Also looking around at the other login methods as there are a couple others that will also come in quite handy.

Thanks again!
