How do field groups work?
DJ-Classifieds gives the possibility to create a group of custom fields in the category, contact, profile/registration, and ask form fields and assign them to Joomla groups.
This way, you can display different fields for different groups.
What is the field group?
It is a kind of category for extra fields. When creating an additional field, you can select the field group it should belong to, so you can group custom fields, and with the settings available in the field group, you can show/hide this set of extra fields for specific users.
Each custom field that is assigned to a Fields Group gets the CSS class that can be used for styling.
![](/templates/yootheme/cache/c1/customfieldsgroup1-c1d9cf6b.png)
Group types
Now when editing a field group field you can choose between:
- category fields,
- contact fields,
- profile/registration fields
- and ask form fields
![](/templates/yootheme/cache/22/categoryfields-2204fc57.png)
![](/templates/yootheme/cache/27/fieldgroupnew-27879a77.png)
Category and contact field groups
- User groups restriction - choose user groups to access custom fields from this field group. For example, as we set the restriction for registered users only, the "not logged in" user will not see the fields assigned to this field group when adding an advert. Apart from adding an advert it also works for advert edit, profile edit, contact form, and elsewhere where it is about using a form.
- Access - set the Joomla access level, decide who sees custom fields in Ad details, Ads lists, etc.
![](/templates/yootheme/cache/5a/usergrouprestrictionaccess-5ad3d9f2.png)
Profile/registration field groups
![](/templates/yootheme/cache/c1/profileregistrationgroup-c132b1ab.png)
Ask form fields
For the ask form fields option, the "access" option disappears because they are always displayed in the form, so access is not applicable.
Show title
![](/templates/yootheme/cache/44/showtitle-44bc5f4b.png)