Hello again,

I've coded up a custom trigger in 7.x in a custom module.

When a new user is created, my action fires. I want access to the values entered in the user form, except trying to grab values from the USER form from the user module in my module doesn't seem to work.

function mycontact_action_info() {
  return array(
        'mycontact_sync_user_action' => array(
        'label' => t('Sync drupal users and my contacts'),
        'type' => 'mycontact',
        'configurable' => FALSE,
        'triggers' => array('any'),
        ),
   );
}
function cg_volunteer_sync_user_action (&$form, $account) {
$test_val =  $form['account']['name'] 
 watchdog('cg_volunteer', 'cg system action fired for %stumpy', array('%stumpy' => $test_val), WATCHDOG_NOTICE, $link = NULL;
}

Do I need to use hook_form_alter to get the data?

The other way to attack my problem is using a sql query to grab the last user created using MAX(uid), but the value returned MIGHT not be right depending on the timing of inserts and selects on a busy site. Any insight into this novel approach (hack!) is welcome.