Sending user edit form to user profile I'm trying to send user edit page to the user profile page (/user), so I can get user profile informations and user edit form on the same page.

function hook_preprocess_user_profile(&amp;$vars) {
  global $user;
  $account = user_load($user-&gt;uid);
  $vars['form'] = drupal_get_form('user_profile_form', $account);
}


Then in user-profile.tpl.php I have the following :

&lt;?php print drupal_render($form['field_user_address']); ?&gt;
&lt;?php // Print necessary validation fields and remove others
      unset($form['field_user_society_id']);
      unset($form['field_user_locations']);
      unset($form['locale']);
      unset($form['account']);
      print drupal_render($form);
 ?&gt;


It works well, I have my form, the datas are coming into it but when saving it, even if I get status message "Changes have been saved" actually no datas are saved.

I tried to put module_load_include('inc', 'user', 'user.pages');in a hook_init() and in a form_alter, but no way to get the form datas saved.

Thanks for helping.
So, the solution was quite simple.

I just needed to remove the call to $form['field_user_address']

//&lt;?php print drupal_render($form['field_user_address']); ?&gt;
&lt;?php // Print necessary validation fields and remove others
      unset($form['field_user_society_id']);
      unset($form['field_user_locations']);
      unset($form['locale']);
      unset($form['account']);
      print drupal_render($form);
 ?&gt;