Hi Joomlapolis
I have set a group of referrers. Each referrer has a name, of course, and a referrer_aid
Each new user must choose a referrer = a parrain
The parrain will be identified with parrain_name and parrain_aid
For this purpose, I need a customized field for a specific function
-A customized field named āparrain_nameā located on Tab āParrainā and a āparrain_aidā
*Type : user name
*Selection restricted to āreferrersā user group
*selected in list or view or geolocalisation or whatever is easier for you
*If I could show a list of users sorted by āuser_deptā( = left (profile.postal_code ;2)) + separator + āprofile.cityā, it would be super
*If it is possible to display only dept / city / name, would be top
*mandatory Registration + editing
With a trigger
The ānameā of the selected parrain will be copied as parrain_name of the new user when the new user has selected the parrain (referrer)
The value of āreferrer_aidā will be copied to āparrain_aidā of the new user
I need to know how I can go and fetch the parrain_aid, which table and key.
Please, how is it possible to solve with CB ?. What do I need (Subscription/addon)?. What support, what suggestion can you provide or/and where can I find help or resources?.
Best regards
Erwan