Stopping submit with form_set_error when trying to publish