By Alaska on
Using Drupal 5.14 with the profile module to add a phone field for new user registration. The plan is to use verification for the phone field which is not supported by the profile module.
The name of the field is profile_phone. The need is to print the content of that field. In this case the entered phone number. i.e. a first step in the process
Placed this code in the profile.module but there is no output. There is a 'name' and 'value' input field.
global $user;
profile_load_profile($user);
print ($user->profile_phone);
Any suggestions on what will work or which module the code should be placed in would be appreciated.