I’ve created a lightbox form lets call it MYLOGIN, and in settings I’ve chosen this corvid form as the Member Sign up form but I also want it to be the login form for existing members of the site. To explain… I’ve got a page lets call it PRIVATEA and have set the permission to Member Only.
When running the published site if the member isn’t logged in (they don’t have to be to access most of the website) if they try to access the PRIVATEA form the member should be prompted to login using the MYLOGIN form but instead the default Wix login form appears.
I tried adding code to the PRIVATEA form to the $w.onReady( function to check if the user was logged in and if not call MYLOGIN but that function on PRIVATEA doesn’t get called until after the default Wix login form.
Is there a way around this. All the tutorials and other messages on this forum explain how to create a custom form but none of them seem to address this issue.
Thanks