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.