chuanjet ... why would you be adding a custom profile field to the User dm in the first place? Custom fields aren't a part of the user dm, as that error message is telling you!
Easiest way would probably be to hang your plugin on the profile_start hook, check if $_POST['do'] is 'updateprofile', and if so poke your field6 value into the $_POST['userfield'] array, something like this:
PHP Code:
if ($_POST['do'] == 'updateprofile')
{
$_POST['userfield']['field6'] = "Yes";
$_POST['userfield']['field6_set'] = 1;
}
... and then just let the standard set_userfields() call in the 'updateprofile' processing handle it for you.
-- hugh