interface IWFieldInfo {
    constraint?: string;
    constraintError?: string;
    currency?: string;
    defaultValue?: string;
    description?: string;
    displayName?: string;
    fieldType?: WFieldType;
    format?: WFieldFormat;
    formatPattern?: string;
    id?: number;
    isMultiValue?: boolean;
    isRequired?: boolean;
    length?: number;
    listValues?: string[];
    name?: string;
}

Hierarchy (view full)

Implemented by

Properties

constraint?: string

The constraint for values stored in the represented field.

constraintError?: string

The error string that will be returned when the field constraint is violated when setting a value for this field.

currency?: string

The name of the currency that will be using when formatting the represented field when the Format property is set to the Currency member of the WFieldFormat enumeration.

defaultValue?: string

The default value of the field for new entries that are assigned to a template the represented field is a member of.

description?: string

The description of the field.

displayName?: string

The localized name of the field.

fieldType?: WFieldType

The type of the field.

format?: WFieldFormat

The display format of the represented field.

formatPattern?: string

The custom format pattern for fields that are configured to use a custom format.

id?: number

The ID of the field.

isMultiValue?: boolean

A boolean indicating if the represented template field supports multiple values.

isRequired?: boolean

A boolean indicating if the represented field must have a value set on entries assigned to a template that the field is a member of.

length?: number

The length of the field for variable length data types.

listValues?: string[]

The list of items assigned to the represented field.

name?: string

The name of the field.