disable post trigger event when the title and content aren't filled out