I am trying to create a passcode for a specific person to enter to get through to next page. Each passcode is unique and there will be hundreds of thousands (potentially million +) of passcodes. Furthermore, once they enter the passcode, I need to use that specific code to identify other fields associated with it on the page that opens.
Ex.
Member 1 enters passcode 54321
Page opens for member 1 and says Welcome “Member 1 name” because “member 1 name” is correlated with passcode 54321.
I know Wix has members only pages but I need a clever way to not manually enter each passcode so I could just paste passcodes/member ID fields in a large matrix.
Thanks ahead of time for any help
Wix will let you create password only pages, however it is a general password only and can’t be different for each user. When a user signs up to be a site member, then they can create their own unique password.
For your user, you will have to create a password and tie it to that specific member either through their userid or email for example, so that when they use the password on your site you can simply query your members dataset and get their info from the members row that matches the given password.
Otherwise, if you wanted to use the simple password protected pages within Wix settings, then you would have to create a separate page for each and every user, so that only they have the correct password for that page.
I See thank you for your thoughts and information. My thought is to add an array with all codes in a data collection first, then use an input field and get the .value and validate it inside the data collection. If it matches you enable the submit button; if it does not match keep it disabled and show a message.
Next I would want to keep the matching array index number (say 5231) and I can make other arrays and match that users information to index 5231 in any of the arrays. Trouble is how to get and store that correlating index number.