You would also have to code a getLocation function. Something like this:
function getLocation() {
foreach ($this->getDynamicData() as $e)
if ($a = $e->getAnswer('varname'))
return $a;
}
varname
would be changed to what you named the variable. (I named mine location, but maybe you used something else.)
You can add your new function in /include/class.user.php just after the getPhoneNumber function.