Creating an error message when someone submits two values that are the same