How to set field groups for custom fields in the registration
There is a possibility of creating a group of custom fields in the registration form and assigning them to Joomla groups.
It allows for displaying different fields for different groups.
To configure this feature, open the DJ-Classifieds component and go to "Field groups".
![](/templates/yootheme/cache/a7/fieldgroups-a7b3790d.png)
In the Fields group section, you can create groups for custom fields. Click the "New" button.
![](/templates/yootheme/cache/2a/newfieldgroup-2a2762c0.png)
You need to provide:
- name of the group,
- source of fields (Category fields, Contact fields, Profile/Registration fields),
- Joomla group to which user will be assigned after registration.
For registration, you need to choose "Profile/Registration fields".
![](/templates/yootheme/cache/35/example-field-group-354f3dbf.png)
Then in field edition, you can assign fields to suitable groups. Go to "Fields" in DJ-Classifieds component and choose "New".
![](/templates/yootheme/cache/24/newfield-249f8972.png)
Assign the field to the chosen group and click "Save".
![](/templates/yootheme/cache/e6/fieldgroupbusiness-e60fb789.png)
Then during registration automatically are showed fields not assigned to any of group.
![](/templates/yootheme/cache/05/registration-field-054ca90a.png)
After selecting the account type, new fields are loaded.
![](/templates/yootheme/cache/f8/registration-field-business-f84f70d1.png)
After registration, only the administrator can change the group of user.
![](/templates/yootheme/cache/d9/adminuserprofile-d960fc05.png)