Documentation >> Custom Fields >> Detailed Look at All Custom Field Types
There are currently seven different types of custom field that you can add to your conversation. The names of these field types are related either to the type of editable widget they display in a HTML form, or to the type of data they can contain. They are:
- Boolean
Contains either true or false. When displayed in a form, it's either a <select> or two radio buttons (or a hidden field).
- Date
Contains date information (year, month, and day). Can also include a time (optional).
- Long Text
Any text informatin can be stored in this field type. The only difference between the Long Text and Short Text field types is the widget used to display the fields in a form. Long Text uses the <textarea> widget.
- Short Text
Any text informatin can be stored in this field type. The only difference between the Long Text and Short Text field types is the widget used to display the fields in a form. Short Text uses the <input type="text"> widget.
- Number
Whole numbers can be stored in this field type, positive or negative. The widget used in html forms is a small text field whose maximum length is 11 characters, for up to ten digits and an optional minus sign.
The range of numbers accepted by the Number field is -1410065407 to 1410065407.
- List/Combo Box
The first of two field types that allow you to create a pre-defined list, and then select values from that list when creating or editing a message. The List/Combo Box field type uses a list box (also called a combo box) in the HTML form, and allows for more than one item to be selected when a message is edited (or created).
The key to the List/Combo Box is that you control the user input by pre-defining the items that can be selected from the list, and multiple items can be selected.
- Popup Menu
The second of two field types that allow you to create a pre-defined list, and then select a value from that list when creating or editing a message. The Popup Menu field type uses a popup menu (also called a drop-down menu) in the HTML form, and allows only one item to be selected when a message is edited.
The key to the Popup Menu is that you control the user input by pre-defining the items that can be selected from the list, and only one item can be selected.
View in DG
|