I think getElementValueInEntry just returns the raw value from the DB, whereas prepvalues will get the value formatted for display to the user, so this should be more correct.