10 years ago
5
Topic

Hi!
I have been trying to achieve this, but without success!
This solution did not work form me:
http://www.seblod.com/community/forums/forms-content-types/how-to-assign-users-to-groups-from-registration-form-using-seblod

I have created a radio button assigend the vales but joomla always saves newly registered users as registered, or if I leave that setting blank in the global configuration, then it leaves it blank, I just cannot make this work!
Please help!

Get a VIP membership
4229 Posts
Kadministrator
10 years ago
2
Level 1

Have you enabled the bridge?

10 years ago
0
Level 2

Hi Klas !
Thanks for your answer, yes, I have enabled the bridge in storage location joomla user plugin, but that did not help either, newly registered users are placed in the registered group.

10 years ago
0
Level 2

Hi Klas! 
Sorry, I was wrong! It is working with the bidge is enabled! But I am setting up a multi-stage form for the first time, and I grouped the basic user details on the first page, then they can select what package they want and additional fields become visible afre their selection. The user group is determided by the packege they select. 
When I place the whole thing on one page it works, when place the package selection on the second page it does not. 
Sorry for being this trouble, and thanks for your help!

4229 Posts
Kadministrator
10 years ago
1
Level 1

Hi,

there are some bugs related to multipage forms, as workaround you could put your fields in div fields and then use conditionals to show/hide those divs. Aso pelase report thios problem on tracker.

10 years ago
0
Level 2

Hi Klas!
Ok, so I am not the who did it wrong, ok, I will report it to the tracker.
I have enabled the brigde.
I placed all my fileds on one filed, the user goup assignment worked, but when I tried to do it with conditional states it did not. 
The field got the value, but it was not saved, so I could make it work with a javascript code:

jQuery('#statusz').click(function(){

var num= jQuery(this).val();

jQuery('#user_groups').val(num);

});
This way it works fine.

Thanks for your support and replies!

Get a VIP membership