updated autocomplete, showing error as red border when user enters invalid value in autocomplete box