How can I force users to provide a reason when cancelling their accounts? I would like to force users to provide a reason for cancelling (a text area would be ideal) their accounts.  I have had several users close their accounts on one of my sites recently and I would like to know why.
Here you go, alter the user_cancel_confirm_form.

function MYMODULE_form_user_cancel_confirm_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  $form['reason'] = array(
    '#title' =&gt; t('Reason'),
    '#type' =&gt; 'textarea',
    '#description' =&gt; t('We are sad to see you go, why do you want to leave?'),
    '#required' =&gt; TRUE, // force to input
  );

  $form['#submit'][] = 'user_cancel_log_reason'; // add custom submit handler
}

function user_cancel_log_reason($form, &amp;$form_state) {
  $reason = $form_state['values']['reason'];
  // do whatever with the reason, e.g watchdog
  watchdog('user', 'User cancel reason:' . $reason);
}