# Item types

Elements have an ***Item type*** and a ***Data type.*** The data type available is dependent on the item type that you choose. For the example below, these are the current data types that are available for the **Data Entry** form item:

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-54754725f90bf00f3018705fa4836b6426721ac0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Item Types

The item type decides what behaviour is expected from the element, listed below.

<table><thead><tr><th width="298">Item Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Data Entry</strong></td><td>the most common item type, captures data in an activity.</td></tr><tr><td><strong>Visual</strong></td><td>this item type provides visual customizations for the activity form by either adding notes or sectioning the items.</td></tr><tr><td><strong>Raise Event</strong></td><td>evaluate an expression that if true will raise a specified event type.</td></tr><tr><td><a data-mention href="element-types/update-attribute">update-attribute</a></td><td>changes an attribute's value (either on order, material or asset). There are three types of Update Attribute</td></tr><tr><td><strong>Update Order Tolerance</strong></td><td>changes the lower limit, upper limit and target values of an order.</td></tr><tr><td><strong>Order Progress</strong></td><td>the value must be a number and will add to the quantity produced on an order.</td></tr><tr><td><strong>Order Reject</strong></td><td>the value must be a number and will add to the quantity rejected on an order (NB: this does note remove from the quantity produced).</td></tr><tr><td><strong>Event Reason</strong></td><td>Records an a reason for any given event.</td></tr><tr><td><strong>Material Movement</strong></td><td>Update a material movement type. See <a data-mention href="#material-component">#material-component</a></td></tr><tr><td><strong>Update Order Target</strong></td><td>Lets you update the current order's target</td></tr><tr><td><strong>Update Component Target</strong></td><td>Lets you update the current running order instance's component (or also known as Bill of Materials) target.</td></tr><tr><td><strong>Board Item</strong></td><td>Lets you add an board item entry through an activity. See <a data-mention href="element-types/board-item">board-item</a></td></tr></tbody></table>

## Common data types

The *data type* decide how the value of the *item type* is captured. Each *item type* has it's own *data type* options, listed below.

You can click on the complex Data Types for more details on how they can be used.

### **Number**

Only accepts number characters. Numbers can be positive or negative.

<div align="left"><figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/626b37aca535c33d541a31ec/file-pWXcbiGkc5.png" alt=""><figcaption></figcaption></figure></div>

### [option-list](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/option-list "mention")

If you have not configured a list, look at [#option-list](#option-list "mention") to create one.

**Choose from a configured list**. Available as single, multiple or tree options.

<div align="left"><figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/626b37f37488cf771e51dd54/file-BP50toSqSO.png" alt=""><figcaption></figcaption></figure></div>

### **Date**

Provides a date picker to enter a specific date.

<div align="left"><figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/626b38236c886c75aabeb50e/file-IcTz5OECKz.png" alt=""><figcaption></figcaption></figure></div>

### **Date/Time**

Provides a date/time picker to enter a specific date and time.

<div align="left"><figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/626b3855b065ad1af4f81f98/file-aujoDalSVA.png" alt=""><figcaption></figcaption></figure></div>

### **Text**

Accepts any character (text, number, spaces and special characters).

<div align="left"><figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/626b39d2a535c33d541a31f2/file-Nn2e8T0dXA.png" alt=""><figcaption></figcaption></figure></div>

### [calculation-and-read-only-note](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/calculation-and-read-only-note "mention")

Allows you to configure a calculation using math and/or JavaScript. *Attributes* and *Item Keys* can be references in the calculation.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/627897b4c5cfff5d83fce0d0/file-Ry9po6whNi.png)

### [barcode](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/barcode "mention")

Accepts any character (text, number, spaces and special characters). Define barcode field lengths to parse into other elements in the activity.

<div align="left"><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/628c32618bf21a2e2b6d6cc7/file-oPcrW4HpBz.png" alt=""></div>

### **Pass/Fail**

Provides two buttons; one for pass, one for fail.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/626b375e93a48c444833672a/file-wGg3So4Oei.png)

### [**Edge Data**](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/edge-data)

Pull in any data that is received by the your [edge](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/edge "mention")device.

<figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/62789a4dc5cfff5d83fce0d1/file-4I1qEreF2p.png" alt=""><figcaption></figcaption></figure>

### [**Material Component**](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/material-component)

Allows the user to enter the External ID of a [material-component](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/material-definition/material-component "mention") to confirm if it belongs to the order's material. Best used in conjunction with [#barcode](#barcode "mention").

<div align="left"><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/6278abf265a63f340f70f204/file-iFh1i3XkI0.png" alt=""></div>

### [**Read Only Note**](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/calculation-and-read-only-note)

Used to provide notes within the activity form. This can be made dynamic using [calculation-and-read-only-note](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/calculation-and-read-only-note "mention").

<figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/6278ac909fcefa46a68cca33/file-aRJ4hv9zAf.png" alt=""><figcaption></figcaption></figure>

### **Signature**

Presents a button to open a box in which you can sign using a touchscreen display or other input device (e.g. mouse, pen tablet, etc).

<figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/6278ad84ed262d106f73fb51/file-U1QUNp5UVU.png" alt=""><figcaption></figcaption></figure>

### [**Image**](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/elements/data-types/image-capture)

Provides ability to either capture an image using your devices camera, or upload an image from your device.

<div align="left"><figure><img src="https://s3.amazonaws.com/helpscout.net/docs/assets/60208fd212248b2c96d50eeb/images/6278ae189fcefa46a68cca37/file-Z5X1fprpGs.png" alt=""><figcaption></figcaption></figure></div>
