downloaded the file you posted. Same result: if incorrect error code is entered first the error message shows as it should. THen if the correct error code is entered and submitted the email is sent but the form doesn't clear so the error message is still showing along with name, email, phone and message.
see attached pic