Thanks John,
another way with link:
create Hidden field called "Usertype" and set follow conditions:
- if equal to custom value "member" add to group Member
- if equal to custom value "vendor" add to group Vendor
Create a menu item (Regular Registation) of type Users->Registration form for registerd users. You will have a url like
http://yourdomain/registration
Create a menu item (Member Registation) if type System->External URL and set same url like this
http://yourdomain/registration?usertype=member
Create a menu item (Vendor Registation) if type System->External URL and set same url like this
http://yourdomain/registration?usertype=vendor
In URL it is possible to assign value of field during registration, documentation here:
https://www.easy-profile.com/docs/27-set-default-value-in-registration-from-url.html
NOTE: default group (registered )is always assigned so:
with first link the user go in Registration group
with second the user go in Registration and Member groups
with third the user go in Registration and Vendor groups
Default group is set in Users->User Manager->Option, this is a Joomla configuration.