I have a script that validates a form input based on the input being one of the values within an array. If the input value is not within the array, an alert happens, otherwi