Field Types

Below is a list of the types of fields you can use in any fields list.

๐Ÿ“˜

The output column below is relevant only for the fields within the consent object.

Field TypeDescriptionAdditional Properties
* for required
Output
singleLineUse this for a free-text inputplaceholder: stringtext
multiLineUse this for a long free-text input (text-area)text
numberUse this for a number inputnumber
currencyUse this for a currency (number) input.number * 100 (the value in cents)

Example:
Input: 15 โ†’ Output: 1500
cardNumberUse this for a card-number input (stores the last 4 digits)last 4 digits (as string)
datePickerUse this for a date-picker inputSelected date in YYYY-MM-DDT00:00:00.000Z format
dropdownUse this for a single-select dropdownoptions*: Array<{ label: string, value: any }>{ label: string, value: any }
dropdownMultiUse this for a multi-select dropdownoptions*: Array<{ label: string, value: any }>Array<{ label: string, value: any }>
usersDropdownUse this for a single-select user dropdown{
lastName: string | null,
photoUrl: string | null,
firstName: string,
id: number,
email: string,
value: number,
label: string,
optionType: 'user',
pathTemplate: '/team/{idOrg}/user/{id}'
}
usersDropdownMultiUse this for a multi-select user dropdownArray<idUser: number>