interface IEnvelopeField {
    default?: string;
    document_id: string;
    envelope_id: string;
    group?: string;
    height: number;
    label: null | string;
    name: string;
    page: number;
    placeholder?: string;
    prepared?: boolean;
    recipient_role: string;
    required: boolean;
    settings?: IEnvelopeFieldSettings;
    tabindex: number;
    type: "attachment" | "textarea" | "signature" | "initial" | "checkbox_group" | "radio_button_group" | "textbox" | "timestamp" | "date" | "dropdown" | "payment";
    validator: null | 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.

envelope_id: string

The ID of the envelope 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: null | string

If set, the placeholder/label for the field.

name: string

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

page: number

The 1-based page number the field is displayed on. "Self-placed" fields that the user must apply will be on page 0.

placeholder?: string

The placeholder to show in the field.

prepared?: boolean

Not sent by the server. Used in the UI to identify prepared fields.

recipient_role: string

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

required: boolean

If true, the field will be required

tabindex: number

If set, the tab index for the field.

type: "attachment" | "textarea" | "signature" | "initial" | "checkbox_group" | "radio_button_group" | "textbox" | "timestamp" | "date" | "dropdown" | "payment"

The type of the field

validator: null | string
width: number

The width of the field.

x: number

The X position of the field.

y: number

The Y position of the field.