Thanks Luo for the prompt response..
It works perfectly, but only when the post_content field is a part of the form. If I excluded it from the form nothing is saved in the field. What I want to do is to set this field value but without putting it in the form itself. How could this be done?