Only validate input data on POST new_post and PUT post