Well, in my opinion you can't avoid this.
Who can prevent me - as a respondent - from writing nonsense, hateful messages, or whatever in a text box in an open survey?
This is an old dilemma in market research. Online surveys are cheap and quick, but ...
Face-to-face is - depending on the interviewer - of higher quality ... but expensive.
We have always spent a lot of days filtering out participants who
- always give particularly unique, quaint or witty answers
- answer every question with some ecological, esoteric nonsense
- always spread their worldview, no matter how the question was
Of course you could validate a text field with some of the string functions, so that certain words are not allowed.
But there are too many of them.
Sorry, no better idea.
Joffm