simplified validation code for text chat entry model