Introduction
Historically version jD3.2 and earlier provided a limited number of what were called 'jDownloads Custom Fields'.
When upgrading from the jD3.2 series to the 3.9 series the old style jD Custom fields are automatically converted to Joomla Fields.
The Fields and Field Groups discussed here are those that have been created in jDownloads. There are 16 different Feld types as noted below:
Calendar, Checkboxes, Colour, Editor, Integer, List, List of Images, Media, Radio, Repeatable, SQL Text, Text Area, URL, User and User Group.
Field titles and contents are displayed in the frontend using placeholder variables {jd_field_title id} and {jd_field id} where id is the relevant id of the required Field created in jDownloads.
Fields do not have to be in a Field Group, in effect when not in an explicit group they then belong in the 'ungrouped' group!
In this example we will first create a Field Group as placing Fields in a group simplifies using them when subsequently creating or editing Downloads.
If you are only using say half a dozen or so Fields then it is simpler to just create the Fields by themselves without having to set up any Field Groups.
In that case skip to the Fields Section .
Creating Field Groups
Select
This has four tabs
The relevant setting will, by default, be inherited by any Field that is a member of the Field Group.
Field Group - General tab
As the site is not multilingual there is no language option.
Also set the Access as required, which would usually be Public so everyone will see the group.
Give the group a Description as that will guide users in the Frontend who are able to edit fields.
Also add a comment in the Note as that will appear in the Backend.
Also, as shown in the second image on the far right, if your screen view is 'narrow' then the links to the other options are show in blue at the bottom


Field Group - Options tab
The

Field-Group-Publishing tab
The only settings in the

Field-Group-Permissions tab
On the
The default permission for front end users is
One of the significant features of Field Groups is that these permissions will then be inherited by all the Fields that belong to the Field Group.
For Fields that do not belong to a Field Group then you have to set Permissions for each Field individually!

Creating Fields
So select
General tab
Note that this will also automatically fill the 'Label' option.
When the Field is Saved then the Name option, which is like the 'alias', will be generated from the title.
The Type pulldown sets the type of the Field from the pulldown list of those available. Once saved it cannot be changed. Here the Type is set to
'Text (text)'.
It is strongly suggested that you leave the Default Value option empty.

If you do specify a Default Value then this value will appear in all Downloads that have not had an explicit value entered.
Ensure you set the Field Group by using the pull down.
Options Tab
The items in the 'Form Options' section allow styling how the text and value will appear in the Edit Form.
The settings in the 'Render Options' section mainly style the look of the Text and Value as they are to appear in the frontend view.
However the Automatic Display setting controls where the text and value will appear in the Front End.
As a starting point it is strongly suggested the 'Automatic Display' option is set to 'Do not Automatically Display' as indicated.
Smart seach has 4 settings.
Author Note: An example 'taxonomy'.is to set the seach with sayType: project | Category: Libraries | Language: en-GB



Publishing Tab
The Publishing Tab allows setting or changing the created Date. by clicking on the
The Created By, Modified Date and Modified By entries are auto filled.
'Permissions Tab
Radio Field Example
To add the Radio Text and Values click on the
Enter in the Text column the 'question' that the user will see, and in the Value column specify the vaue, which is actually text, that will be returned to the code when the button is selected in the front end.
Ensure you select the relevant Field Group from the pulldown
Field types like Text and Colour only have one Text and one Value to enter.

Editing in Frontend
Multilingual sites
The first one is where the Download was set to English.

The second one is where the Download was set to the German language.

The 'English' and 'German' are logically identical to the others. This was not done by Joomla! or jDownloads but by the author for consistency.
One is free to set completely different 'questions' and response values.
Whilst the response values would be different in different Downloads, it is clearly good practice to make the 'question' text logically identical across languages.


Viewing Fields in Frontend
(i) in a Download or Download Details layout information block;
Downloads and Download Details layouts use the place holders {jd_field_title id} and {jd_field id} where id is the relevant id of the required field.
(ii) in a Description;
(iiI) in an article.
In Layouts
In the first Download the Field Titles and the Field Values are shown.
In the second image only the Field Titles are shown. This is because no value has been set.
One may of course set a Default Value so that a value is always shown.
The image opposite shows the code included in the information block section of the layout. It follows the regular style of the layouts.
The 'macros'{jdfield_title id} and {jdfield id} are highlighted.
.


<div class="jd_field_row_compact" style"">
<span class = "jd_field_title">{jdfield_title 1}</span>
<span class = "jd_field_title">{jdfield_title 2}</span>
<div>
The image opposite shows part of a Compact Layout that has been modified to support two Fields in mutiple languages.
With this method there are no 'blank spaces' shown in the front-end for the other languages.


In a Download Description
Opposite is an example of the view in the Frontend of a Download with Fields in the Description.
In this example the same fields are shown in the 'Information' section.

The actual text in the Description is shown opposite.
In an Article
(i) shows an individual field and (ii) to show the whole field group, that is all the fields in that group.
lists all the fields in the field group with id 2 .
In the example shown opposite each field had the 'Automatic Display' option set to 'Do not automatically display'.

The effect of changing the 'Automatic Display' option to one of the other settings, such as 'Before Display' is shown opposite.
The 'Automatic Display' setting 'Show Before' will also show the fields in Downloads but this is rarely useful.

