validate the blog field in posts