Redirect a member from the signup form to the login form Answered

Post author
Rafael Leon

Hey there! 

How can I redirect a member from the signup form to the login form? Currently when someone who already has an account fills the form in the landing page it says "email has already been taken", so I want to redirect them to the login form when that happens. How can I do that?




  • Comment author
    Josh Lopez

    Hey Rafael! This would take some custom code. To do this you would need to use the DOM package to login members and based on the response do the redirect.

  • Comment author
    John Ramos

    Is there a way to not have a page redirect when a user fills out a member form, and for the form to just show the form success message?

  • Comment author
    Abdullateef Ademoye

    you might need to submit the form to a webhook to update member through javascript then and handle the response you desire.

    Or catch some memberstack JS events for that.


Please sign in to leave a comment.