I’m creating a simple app for a Client and they want a section for members only, and rather than connecting to a database to authenticate, they want the user to be able to enter a code in a text box and press the login button to enter.
is there a way to link the text box to the button like you would with an excel ‘if statement’ I was thinking this could be possible with directives.
I’ve seen code on making the button unselectable if no text is entered so hopefully the same idea could work that instead on no text it needs the correct text.
Security isn’t a high priority as there is no commercial sensitive material, they just want to stop he common user from seeing for example a discount code.
Any help or suggestions will be greatly appreciated.