interface ITemplateField {
    default?: string;
    document_id: string;
    group?: string;
    height: number;
    label?: string;
    name: string;
    page_sequence: number;
    placeholder?: string;
    required: boolean;
    role_name: string;
    setting: ITemplateFieldSetting;
    tabindex: number;
    template_id: string;
    type: "attachment" | "textarea" | "signature" | "initial" | "checkbox_group" | "radio_button_group" | "textbox" | "timestamp" | "date" | "dropdown" | "payment";
    validator?: string;
    width: number;
    x: number;
    y: number;
}

Properties

default?: string

The default value for the field.

document_id: string

The ID of the document the field is for.

group?: string

For fields that support grouping (radio buttons and check boxes) the value selected will be stored under this name.

height: number

The height of the field.

label?: string
name: string

The machine name of the field, e.g. checkbox_groupP1-18

page_sequence: number
placeholder?: string

The placeholder to show in the field.

required: boolean
role_name: string

The ID of the role in the recipients list, e.g. Recipient 2

tabindex: number

If set, the tab index for the field.

template_id: string

The ID of the template the field is for.

type: "attachment" | "textarea" | "signature" | "initial" | "checkbox_group" | "radio_button_group" | "textbox" | "timestamp" | "date" | "dropdown" | "payment"
validator?: string
width: number

The width of the field.

x: number

The X position of the field.

y: number

The Y position of the field.