HI there
I have created a custom login form where members of my site “www . outoftheboxmedics . com” on returning to the site, can login to access various features.
At the moment, a client would come to the homepage, login from the homepage (custom login lightbox opens) and then return to the homepage (or whichever page they started from).
I would like the custom login page to redirect to one of the member pages rather than go back to where they came from. Unsuccessful logins would prompt a “re attempt” as expected.
All the velo help pages I have seen, focus on taking data first and then using wixLocation to redirect them.
I dont need any data to be taken as I have designed the form as I want it. All I need is to add a redirect at the end of the login page.
When I open velo / developer mode on the custom signup form, I get the initial blank coding page ready to enter code.
I tried just adding wixLocation u[/u] but on running to test the code I got errors and bottled it - I didnt save and publish and test.
Here is an example of a page I found
https://www.wix.com / velo/ forum/ coding-with-velo/custom-member-log-in-page-redirects-user-to-wrong-page
(i have put in extra spaces to allow the link to appear
…com/velo/forum/coding- )
as I see it (happy to be corrected) i dont need to put in import commands, dont need wixusers.register etc. I might be wrong. Any help appreciated. I am new to coding with velo but am happy to give it a go. I have asked wix help and am waiting for an answer
thanks
heshan