BG_ADV_CCT_002_Dynamic fields in custom Content Templates
In this tutorial, we will learn how to apply dynamic fields to our custom Content Templates.
These will create input fields for our administrators to populate when utilising our custom template.
This could be, for example:
An embedded code snippet
An image
A body of text
Infigosoftware
1. We will be replacing the two pieces of static text in our boilerplate code with dynamic inputs

2. Click on Add new field
To begin, we need to create a new field. These will provide an area for our administrators to input data when utilising our Content Template.

3. Add a field name

4. Select the type of field you wish to create
There is a large selection of available field types, including:
Textbox
Text Area
Dropdown
Checkbox
File
Image
URL
etc

5. Click on Create

6. Click the > icon next to the newly generated field to reveal additional details

7. Additional field details
Additional field details are available for use. This includes information such as amending the placeholder, inputting a default value and changing the order of created fields.
We aim to cover the more advanced field options and features in future tutorials.

8. For our example, we will also create a second field
This field will need to contain a body of text, meaning a Wysiwyg field has been selected.

9. Next, we need to add these dynamic fields to our HTML Markup code
Use the Placeholders, generated with each new field, as markers within your HTML code.
Input the placeholders wherever you would like the content of that field to be displayed.

10. Paste the placeholder into your HTML code

11. Paste the placeholder into your HTML code

12. Click on Save and Continue Edit

13. Navigate to the Content Page utilising our new Content Template
This follows on from the previous tutorial "Creating Custom Content Templates" (BG_ADV_CCT_001)
14. Select your Content Template from the dropdown list
The two newly created fields will appear as inputs, ready for our administrators to complete.

15. Enter information then click on Save and Continue Edit

16. Load the front-end Content Page
The values entered into your two fields will now be displayed and formatting in relation to your HTML markup code and placeholders.
