> For the complete documentation index, see [llms.txt](https://docs.smt-x.com/smtx-online-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smt-x.com/smtx-online-documentation/catalog/catalog-maintenance/add-a-field-to-a-template.md).

# Parts (Fields)

Define Parts (fields) within a template to configure what kind of data should be collected for a service based on this template.

Click the Add new part button on the Fields tab of a template definition

![Adding a new template field](https://830009223-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXCmB1C0E7jaoFbPx2p%2F-MXH_ZBSnqSshjDi3XcF%2F-MXH_tqHQMoNtStcB3cG%2Fimage.png?alt=media\&token=8b108351-54e2-4428-90e2-619ac3a9019d)

## Basic tab

On the Basic tab, the overall settings of the field can be done.

| Setting                         | Usage                                                                                                                                                                                                                                  |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name                            | The field name as shown to the service editor                                                                                                                                                                                          |
| Internal name                   | The unique identifier of a field                                                                                                                                                                                                       |
| Help text                       | The text displayed to the service editor to provide help with entering data into this field                                                                                                                                            |
| Type                            | [Type of field](broken://pages/-MXHa_dnMg0WdGE_nGN2)                                                                                                                                                                                   |
| Value is different per language | When this option is set to Yes, the service editor can provide content in this field per available language                                                                                                                            |
| Essential phase                 | Defines the phase in which the field will be mandatory. Please note that unti a service gets published, mandatory fields are suggested to be filled in. Only when a service gets published, the fields really need to contains a value |
| Default value uses calculations | See [calculations ](broken://pages/-MXCzaxW8Ib_FkvBc_ax)option explained                                                                                                                                                               |
| Default value                   | Define the default value for a field. You can use references to other fields.                                                                                                                                                          |

## Advanced tab

Use the advanced tab to set additional options for the field. The advanced tab differs per field type.

| Setting                  | Usage                                                                                                                               |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |
| Read-only when published | Set to yes in case you don't want the contents of this field to be changed after a service gets published                           |
| Max. length              | Maximum number of characters allowed in the field                                                                                   |
| Regular exp.             | A regular expression that should be valid for the contents of this field. This allows you to enforce certain contents in the field. |
| Min.value                | Lowest value allowed                                                                                                                |
| Max. value               | Highest value allowed                                                                                                               |
| Category                 | Select the [reusable conten](broken://pages/-MXHeN9m0zcP7OmDddbT)t category that you want to display in this field                  |
