Hi Buddy, I know it's a while since you posted this, but I just stumbled upon it looking to do the same thing. Did you get it working? You did not say what the problem with it was, I have a limited understanding of php, but I think I can see a potential problem in your code.
PHP Code:
$extra_info=email_collect_extra_info($name,$email_address,$telephone,$mobile,$qualified,$how_long,$academy_details,$qualifications,$products_used,$fax, $account->fields['customers_firstname'] . ' ' . $account->fields['customers_lastname'], $account->fields['customers_email_address'], $account->fields['customers_telephone'], $account->fields['customers_mobile'], $account->fields['customers_qualified_unqualified'], $account->fields['customers_how_long'], $account->fields['customers_academy_details'], $account->fields['customers_qualifications'], $account->fields['customers_products_used'], $account->fields['customers_fax']);
I think the above should be written as
PHP Code:
$extra_info=email_collect_extra_info($name,$email_address, $account->fields['customers_firstname'] . ' ' . $account->fields['customers_lastname'], $account->fields['customers_email_address'], $account->fields['customers_telephone'], $account->fields['customers_mobile'], $account->fields['customers_qualified_unqualified'], $account->fields['customers_how_long'], $account->fields['customers_academy_details'], $account->fields['customers_qualifications'], $account->fields['customers_products_used'], $account->fields['customers_fax']);
I've not tried this with my own code yet but will be looking into it so will check back once I have.