I should add that I have tried
moodleform::set_data(array('approvenotice' => $message));
and also
$this->set_data(array('approvenotice' => $message));
I have tried these things both with and without autosave set to false and both with and without "false" (single-) quoted.