# Create and configure fields

> Fields can be renamed. Just select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button and simply edit the name of the field at the top of the window.

Fields can be renamed. Just select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button and simply edit the name of the field at the top of the window.

If there are fields that you later decide you do not want to use for training an ML model, you can either delete them or you can always hide them using the **Hidden** checkbox in the **Edit field** window.

:::note
A maximum of 300 fields can be created.
:::

## Column fields

A line item **Description** or **Unit Price** on an invoice document would be examples of Column fields.

### Create a new column field

* Select![Plus icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-plus-icon-dm_create_field-95437e2f-bbafa32d.webp) in the table section at the top of the page to add a new Column field. The **Create Column Field** window is displayed.
* Fill in a unique name for the field in the **Enter unique field name** field. The field does not accept uppercase letters. It can only contain lowercase letters, numbers, underscore `_` and dash `-`.
* Select **OK**. The **Edit Field** window is displayed with the **General** tab open.

  ![Screenshot of the General tab in Create a new column field wizard.](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-screenshot-of-the-general-tab-in-create-a-new-column-field-wizard-214766-20b754d7-0b9bf239.webp)
* From the **Content Type** drop-down, select the content type.
* Select the **Hotkey** field and press a key on your keyboard to automatically populate it.
* Select the **Split items** checkbox if you want this field to be used as a delimiter between line items or rows in a table. Any line on which this field appears is considered to be a new line item or row in the table. Most commonly this is used on **Line Amount** fields on Invoice line items. Split Items are only available for FormsAI document type columns.
* Select the **Hidden** checkbox if you do not want this field to be part of exported datasets.
* Select the **Advanced** tab.
* From the **Scoring** drop-down, select the measure used to determine accuracy when running evaluations of model predictions.
* Fill in the hex code of the desired field color on the **Color** field.
* Select **Save** to save your settings.

### Edit a column field

Select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button. The available options for column fields can be found in the following table.

 <colgroup>
  <col/>
  <col/>
  <col/>
 </colgroup>
 
  
    Option 
    Tab 
    Description 
  
 
 
  
     Field name  
     n/a  
     The unique name for the field.  The field does not accept uppercase letters. It can only contain lowercase letters, numbers, underscore <code>_</code> and dash <code>-</code> . 
  
  
     Content type  
    General 
     The content type of a field: 
      
         string : appropriate for company names or addresses, as well as payment terms, or for any other field where the RPA developer prefers to build the parsing or formatting logic manually, in the RPA workflow. 
         number : appropriate for amounts or quantities, with intelligent parsing of the decimal/thousands separators. 
         date : the model parses, formats and unifies the output in a yyyy-mm-dd format. You can indicate how ambiguous dates should be parsed and returned. To do this, choose between Non-US style (yyyy-mm-dd) and US style (yyyy-dd-mm) from the Date format option. 
         phone : appropriate for phone numbers. Formatting removes letters and parentheses, and replaces spaces with dashes. 
         id-no : appropriate for alphanumeric codes, numbers of IDs, it is similar to the string content type, but includes cleaning of any characters coming before a colon <code>:</code> . If the id number you need to extract might contain colon <code>:</code> characters, please use string as content type instead to avoid data loss. 
      

  
  
     Shortcut  
    General 
     The shortcut key for the field. One or two keys allowed.  
  
  
     Split items  
    General 
     Select this checkbox if you want this field to be used as a delimiter between line items or rows in a table. Any line on which this field appears is considered to be a new line item or row in the table. Most commonly, this is used on Line Amount fields on Invoice line items.  
  
  
     Hidden  
    General 
     Select this checkbox if you do not want this field to be part of exported datasets.  
  
  
     Color  
    Advanced 
     The color for the field in hex format. If the value is not valid, a new one is generated.  
  
  
     Scoring  
    Advanced 
     The measure used to determine accuracy when running evaluations of model predictions. It can only be configured for string content type. All other content types use an Exact Match scoring strategy. Options: 
      
         exact match : a prediction is only deemed to be correct (score of 1) if it exactly matches the true value. If it differs by even a single character, then it is deemed to be incorrect (score of 0). 
         levenshtein : a prediction is deemed to be partially correct according to the Levenshtein distance between the prediction and the true value. If a 10-letter value is predicted correctly, except for the last 2 characters, then the score of that prediction will be 0.8. 
      

  
 

### Delete a column field

To delete a column field, follow these steps:

1. Select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button corresponding to the column field you want to delete.
2. Select the **Delete** button.
3. Type the exact name of the field.

   ![Screenshot of the Delete a column field dialog.](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-screenshot-of-the-delete-a-column-field-dialog-114271-ffd0cfe8-bf8b2429.webp)
4. Select **OK**.
5. The column field and its associated labeled data is deleted.

## Regular fields

These are fields which appear only once on a given document. A line item **Invoice Number** or **Total Amount** on an invoice document would be examples of Column fields.

### Create a new regular field

* Select![Plus icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-plus-icon-dm_create_field-95437e2f-bbafa32d.webp) on the right pane in the **Regular Fields** section. The **Create Regular Field** window is displayed.
* Fill in a unique name for the field in the **Enter unique field name** field. The field does not accept uppercase letters. It can only contain lowercase letters, numbers, underscore `_` and dash `-`.
* Select **OK**. The **Edit Field** window is displayed with the **General** tab open.
* Select the content type from the **Content Type** drop-down.
* Select the **Shortcut** field and press a key on your keyboard to automatically populate it.
* Select the **Multi line** checkbox if the field to be checked against might span across multiple text lines, such as addresses or descriptions. If this option is not selected, only the first line is returned.
* Select the **Multi-value** checkbox for all the values detected in the document to be displayed as a list. You can either select the multi-line or the Multi-value checkbox.
* Select the **Hidden** checkbox if you do not want this field to be part of exported datasets.
* Select the **Advanced** tab.
* Select the post processing mechanism in case the model predicts more than one instance of a field on a given page from the **Post processing** drop-down.
* From the **Scoring** drop-down, select the measure used to determine accuracy when running evaluations of model predictions.
* In the **Color** field, fill in the hex code of the desired field color.
* Select **Save** to save your settings.

### Edit a regular field

Select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button. The available options for regular fields can be found in the following table.

 <colgroup>
  <col/>
  <col/>
  <col/>
 </colgroup>
 
  
    Option 
    Tab 
    Description 
  
 
 
  
     Field name  
     n/a  
     The unique name for the field.  The field does not accept uppercase letters. It can only contain lowercase letters, numbers, underscore <code>_</code> and dash <code>-</code> . 
  
  
     Content type  
    General 
     The content type of a field: 
      
         string : appropriate for company names or addresses, as well as payment terms, or for any other field where the RPA developer prefers to build the parsing or formatting logic manually, in the RPA workflow. 
         number : appropriate for amounts or quantities, with intelligent parsing of the decimal/thousands separators. 
         date : the model parses, formats and unifies the output in a yyyy-mm-dd format. You can indicate how ambiguous dates should be parsed and returned. To do this, choose between Non-US style (yyyy-mm-dd) and US style (yyyy-dd-mm) from the Date format option. This option has no impact when the date is not ambiguous and is only supported by ML Packages version 22.10.2 or later. 
         phone : appropriate for phone numbers. Formatting removes letters and parentheses, and replaces spaces with dashes. 
         id-no : appropriate for alphanumeric codes, numbers of IDs, it is similar to the string content type, but includes cleaning of any characters coming before a colon <code>:</code> . If the id number you need to extract might contain colon <code>:</code> characters, please use string as content type instead to avoid data loss. 
      

  
  
     Post processing  
    Advanced 
     The post-processing mechanism. If the model predicts more than one instance of a field on a given page, the model returns: 
      
         highest_confidence : the value with the highest confidence. 
         first_span : the first value. 
         largest_value : the largest numeric value. This is only displayed for number content type and is appropriate for Total Amount fields. 
         longest_value : the value consisting of the largest number of characters. 
      

  
  
     Shortcut  
    General 
     The shortcut key for the field. One or two keys allowed.  
  
  
     Multi line  
    General 
     Select this checkbox for fields which may span across multiple text lines (addresses or descriptions), otherwise, only the first line is returned.  
  
  
     Multi value  
    General 
    Select this checkbox for all the values detected in the document to be displayed as a list. You can either select the multi-line or the Multi-value checkbox. 
  
  
     Hidden  
    General 
     Select this checkbox if you do not want this field to be part of exported datasets.  
  
  
     Scoring  
    Advanced 
     The measure used to determine accuracy when running evaluations of model predictions. It can only be configured for string content type. All other content types use an Exact Match scoring strategy. Options: 
      
         exact match : a prediction is only deemed to be correct (score of 1) if it exactly matches the true value. If it differs by even a single character, then it is deemed to be incorrect (score of 0). 
         levenshtein : a prediction is deemed to be partially correct according to the Levenshtein distance between the prediction and the true value. If a 10-letter value is predicted correctly, except for the last 2 characters, then the score of that prediction will be 0.8. 
      

  
  
     Color  
    Advanced 
     The color for the field in hex format. If the value is not valid, a new one is generated.  
  
 

### Delete a regular field

To delete a regular field, follow these steps:

1. Select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button corresponding to the regular field you want to delete.
2. Select the **Delete** button.
3. Type the exact name of the field.

   ![Screenshot of the Delete field from schema dialog.](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-screenshot-of-the-delete-a-column-field-dialog-114271-ffd0cfe8-bf8b2429.webp)
4. Select **OK**.
5. The regular field and its associated labeled data is deleted.

## Classification fields

Data points which refer to a document as a whole. For instance, the **Expense Type** of a receipt (Food, Hotel, Airline, Transportation) or the **Currency** of an invoice (USD, EUR, JPY) would be examples of Classification fields.

### Create a new classification field

1. Select ![Plus icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-plus-icon-dm_create_field-95437e2f-bbafa32d.webp) on the right pane in the **Classification Fields** section. The **Create a new classification field** window is displayed.
2. Fill in a unique name for the field in the **Enter unique field name** field. The field does not accept uppercase letters. It can only contain lowercase letters, numbers, underscore `_` and dash `-`.
3. Select **OK**. The **Edit Field** window is displayed.
4. In the text area, fill in the list of classes and type the names as a comma separated list.
5. Select **Save** to save your settings.

### Edit a classification field

Select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button. Define a list of possible values. Commas must separate values. An optional description of the value may be included after colon `:` (option 1 : description 1).

   ![Screenshot of the Edit classification field interface](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-screenshot-of-the-edit-classification-field-interface-117447-4e7e3015-90e7d0fd.webp)

### Delete a classification field

To delete a classification field, follow these steps:

1. Select the **Edit field**![Edit icon](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-edit-icon-dm_edit_field-1b884d21-fb288b52.webp) button corresponding to the classification field you want to delete.
2. Select the **Delete** button.
3. Type the exact name of the field.

   ![Screenshot of the Delete a classification field dialog.](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-screenshot-of-the-delete-a-classification-field-dialog-116651-0f15bede-bb2de5e2.webp)
4. Select **OK**.
5. The classification field and its associated labeled data is deleted.
