Skip to main content
edited tags
Link
Bala
  • 5.2k
  • 6
  • 24
  • 40
more clearly defined the context of the function in question
Source Link

I want to run a database query in another CRM database after a user has registered. I'm attempting to do this usingI have the following function user_register_submit,in my sugar_crm module eg:

function sugar_crm_user_register_submit($form, &$form_state)
{       
    // some code to run a database query in SugarCRM
    ddl("User registration form submitted to CRM");         
    
}

However, the function doesn't appear ever to be called. What am I doing wrong here?

I want to run a database query in another CRM database after a user has registered. I'm attempting to do this using the following function user_register_submit, eg:

function sugar_crm_user_register_submit($form, &$form_state)
{       
    // some code to run a database query in SugarCRM
    ddl("User registration form submitted to CRM");         
    
}

However, the function doesn't appear ever to be called. What am I doing wrong here?

I want to run a database query in another CRM database after a user has registered. I have the following function in my sugar_crm module eg:

function sugar_crm_user_register_submit($form, &$form_state)
{       
    // some code to run a database query in SugarCRM
    ddl("User registration form submitted to CRM");         
    
}

However, the function doesn't appear ever to be called. What am I doing wrong here?

Source Link

Implementing a callback after user registration

I want to run a database query in another CRM database after a user has registered. I'm attempting to do this using the following function user_register_submit, eg:

function sugar_crm_user_register_submit($form, &$form_state)
{       
    // some code to run a database query in SugarCRM
    ddl("User registration form submitted to CRM");         
    
}

However, the function doesn't appear ever to be called. What am I doing wrong here?