My scenario is very simple but I am struggling to implement the correct code!
I have a page that I want only to be viewable by Members but in order to approve a member it is essential that we have additional information to ensure that they meet approval. Therefore the Wix Members login will not work for what I am trying to achieve. Once approved it is not essential that the page is password protected but I would like ONLY members to be able to view the specific page by using their email address to login (and checking their approval status - set as a boolean field)
So far, I have a custom sign up form which inputs data into a collection 'MembersOnly'. How do I check that an inputted email address matches one in the MembersOnly collection and how do I secure the page so that only logged in members can view it?
It really isn't viable to use the current Wix Members Login (unless there is a way of capturing additional data?) so I would be really grateful if someone could point me in the right direction.