Looking for a way to create a web form that can look up the value entered in the database and return a new value to the user. This is what I want:
Enter your current passcode: ....... (enter)
Here's your new passcode: ......
If value for current passcode is entered, system will look at the current passcode database. If there's a match between current passcode value entered with current passcode in the database, system will show a new passcode to user. System must be smart enough to recognize redeemed current passcode, so that if someone wants to redeem current passcode that has been redeemed, they will get an error message.