× Here you can get community support related to Auto Group.

Need some help with single check box.

  • easistudio
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 3 weeks ago #1729 by easistudio
Need some help with single check box. was created by easistudio
I see from a previous post that this tool works with radio button fields so I am assuming it works with check boxes (single) too?

My use case is as follows:
- if the checkbox is ticked I want the user to be in group advertisers;
- if the checkbox is not ticked (empty), I want to the user in group registered.

Please could you post the code to put in the Field to Group Mapping box assuming check box name is cb_profiletype.

Many thanks in anticipation.

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

  • easistudio
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 3 weeks ago - 11 years 3 weeks ago #1730 by easistudio
Replied by easistudio on topic Need some help with single check box.
Success. Got it working after following another thread with the following:

cb_profiletype;Yes;Advertisers;True

Interestingly users who become advertisers are also registered too. I assume this is so that users can switch on/off their usergroups?
Last edit: 11 years 3 weeks ago by easistudio.

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

More
11 years 3 weeks ago #1731 by admin
Replied by admin on topic Need some help with single check box.
Uhmm,
let me check... hold on...

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

More
11 years 3 weeks ago #1732 by admin
Replied by admin on topic Need some help with single check box.
Meanwhile change rule putting True in lowercase:
cb_profiletype;Yes;Advertisers;true

Rule is case sensitive.

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

More
11 years 3 weeks ago - 11 years 3 weeks ago #1733 by admin
Replied by admin on topic Need some help with single check box.
Ok,
the single checkbox field is supported and return Yes when checked (and empty string when not checked). So the rule above works.

The registered group should be always assigned to registered users, so leave it as is.

Kind regards,
Luigi
Last edit: 11 years 3 weeks ago by admin.

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

Time to create page: 0.140 seconds