Add error validation to new posts