I set up a custom extension that runs on “entry_submission_start” hook.
function functionName($entry_id, $meta, $data) {
$query = mysql_query("SELECT field_id_34 FROM exp_channel_data WHERE entry_id = '".$entry_id."'");
$assoc = mysql_fetch_assoc($query);
echo $assoc['field_id_34'];
}
This is the method that should run. The result is it echoes out the new field value and not the one that used to exist.
I am under the impression this hook would get called before any data is updated, but that is not my findings