I'd like to add the email CCK to a nodeprofile and make the default value the email they registered with.

Thanks for any tips.

Comments

suit4’s picture

You could use the widgets default setting.

In the php code field in the widgets settings dialogue, enter something like:

global $user;
return array(
  0 => array('your_field_name' => $user->mail),
);

There is a hint below the code box where you can find your_field_name.