# Parts (Fields)

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](https://docs.smt-x.com/smtx-online-documentation/catalog/catalog-maintenance/broken-reference)                                                                                                                         |
| 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 ](https://docs.smt-x.com/smtx-online-documentation/catalog/catalog-maintenance/broken-reference)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](https://docs.smt-x.com/smtx-online-documentation/catalog/catalog-maintenance/broken-reference)t category that you want to display in this field |
