Add validation to post form