FieldDefinition

interface FieldDefinition

Definition of a custom Field that is stored on the server.

Inheritors

Types

Link copied to clipboard

Details of a hierarchical or tree field.

Link copied to clipboard

Details of a list field.

Link copied to clipboard
interface Text : FieldDefinition

Details of a text (or email) field.

Properties

Link copied to clipboard
abstract val fieldId: String

Identifier for the field.

Link copied to clipboard
abstract val isRequired: Boolean

True iff the value is required. This is only valid for fields within a survey

Link copied to clipboard
abstract val label: String

Human-readable label for the field.

Functions

Link copied to clipboard
abstract fun validate(value: String)

Check if value is valid for this field definition.