only clear fields once we know a posts been submitted