Joomla User Registration Usertype automatic set

mi2mo 22 May, 2013
Hello, this is my problem:
I've created a form for the registration of new users, based on a questionnaire.
The problem is that when the event "Joomla User Registration."
On submit I can not set the field "usertype" but I wish you set automatically based on the response of the questionnaire.

For example I have a "CheckBoxes Group" with the values ​​"GAM=GAM GAF=GAF GPT=GPT" and I would like based on what the user selection (one or more) is registered with the equivalent usertype.
Thank you so much to anyone who can help me
GreyHead 24 May, 2013
Hi mi2mo,

I'm not sure of the exact code - I need to find it in the next few days for a client project and will post it here. Basically you can't have a dynamic group in the Joomla! Registration action but you can use a Custom Code action after the Joomla! Registration to change the user's group access.

Bob
brononius 18 Jun, 2013
I think i'm having a bit the same question:
I'm working on a site where volunteers can registrate their account.
And it should be possible that they can select themselves to which groups they want to join.
This by for example some checkboxes.

Like I see it today, they can create an user to a predefined group. And afterwards, an administrator need to put the user in other/different groups.
So it would be nice if the user can decide himself to which groups he belong to. Of course some groups like administrator/public... should be excluded.
GreyHead 05 Sep, 2013
Hi Brononius,

If you haven't already solved this please see this FAQ.

Bob
brononius 06 Sep, 2013
I did a kind of workaround. 😶

Since I'm only use one group now (volunteers), it was much easier to decide in which group a new user is falling.

And with CB, volunteers can mention what kind of work they want to do.
This way, they can also update their profile much easier.


Thanks anyway!!!
This topic is locked and no more replies can be posted.