Added 0-char and too long strings, added logic to onClick to not post if unnecessary