rant displays errors when filled out incorrectly