Add to group depending field choice

  • Frédéric Bianchi
  • Frédéric Bianchi's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
3 weeks 1 day ago - 2 weeks 3 days ago #134385 by Frédéric Bianchi
Add to group depending field choice was created by Frédéric Bianchi
Hello,
is there a way to add a user to a group depending of a field choice at order ? I explain.

I have a plan with follow-up and no follow-up of the client for his online course. It is the exact same plan, with or without follow-up.
The only difference is in follow-up, the client can fill some questionnaires forms to level up.

So i dont want to duplicate this plan only for this option.

I made a special user group to have access at these forms. Actually, the user can choose in the order if he want or not the follow-up, the price is more expansive with follow-up. So actually, at order, i assign the user to a group to have access at the online course.

That i want now is add the follow-up user to an additional group if he choose follow-up.
I can do this manually, but is it possible to do that automatically with component ?
Last edit: 2 weeks 3 days ago by Frédéric Bianchi.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 weeks 1 day ago #134389 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Add to group depending field choice

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Frédéric Bianchi's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
2 weeks 3 days ago #134528 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Add to group depending field choice
Hello, yes, it is that ! Thank you.

But question, actually, i have already user group assigned with the EB plugin. If a use the field, is that ok using plugin + the field.

I mean, in the plugin config, imagine the user is added to group 5,10,15.
In the field, i use it to add to the 20 depending choice.

So the result will be 5,10,15 + 20 or 5,10,15 only depending choice, right ?

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
2 weeks 3 days ago #134533 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Add to group depending field choice
Hi

I don't understand. Maybe you can attach screenshot showing me your setup and then tell me your questions so that I can understand and give you the answer?

Tuan

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Frédéric Bianchi's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
2 weeks 3 days ago #134534 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Add to group depending field choice
I tested now and it work.

The question was i use the group plugin (see screenshot).
I wanted to make sure that the choice of the field did not bypass the basic choices of the plugin of.

But is is OK.

Attachments:

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
2 weeks 3 days ago #134535 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Add to group depending field choice
The choice of field is independent with the selection in the Joomla groups plugin, it works together

Tuan

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Frédéric Bianchi's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
2 weeks 3 days ago #134536 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Add to group depending field choice
Yes, thank you :)

Please Log in or Create an account to join the conversation.