I need your help as I would like to create a login type with variables. Let me explain: On my homepage there is an input field where the user logs in through a code that I set up. I would like every single code that the user enters to log in to correspond to a page. I’ll give you an example with the possible variable, which I would like to create but I don’t know how to do it: If a user enters a code such as 12345 that code must authenticate that user on page 205, if the user enters a code 67891 must authenticate that user on page 300 and so on. If, on the other hand, a user enters a code 00000, the application must give a warning with the error message as the code is not recognized.
In short I would like to know how to create a variable that allows me to do what I explained in the example.