Using PyroCMS 2.2, how can I have a registration form assign a user to one of the new Groups I created. Within the admin panel, I have a created a user group called client
. When my registration form within my module is sent, it creates the client, but sets the type for group to $config['default_group'] = 'user';
within the core module.
Is there a way for me to set the group to client for this specific registration form in this module?