Interface FormTriggerV2NodeParameters

Source
interface FormTriggerV2NodeParameters {
    authentication?: "none" | "basicAuth";
    formDescription?: string;
    formFields?: {
        values: {
            acceptFileTypes?: string;
            elementName?: string;
            fieldLabel: string;
            fieldName?: string;
            fieldOptions: { values: { option?: string }[] };
            fieldType:
                | "number"
                | "file"
                | "text"
                | "email"
                | "date"
                | "html"
                | "checkbox"
                | "dropdown"
                | "hiddenField"
                | "password"
                | "radio"
                | "textarea";
            fieldValue?: string;
            formatDate?: string;
            html?: string;
            limitSelection?: "exact"
            | "range"
            | "unlimited";
            maxSelections?: number;
            minSelections?: number;
            multipleFiles?: boolean;
            multiselect?: boolean;
            multiselectLegacyNotice?: string;
            numberOfSelections?: number;
            placeholder?: string;
            requiredField?: boolean;
        }[];
    };
    formTitle?: string;
    options?: {
        appendAttribution?: boolean;
        buttonLabel?: string;
        customCss?: string;
        ignoreBots?: boolean;
        path?: string;
        respondWithOptions?: {
            values: {
                formSubmittedText?: string;
                redirectUrl?: string;
                respondWith?: "text"
                | "redirect";
            };
        };
        useWorkflowTimezone?: boolean;
    };
    path?: string;
    responseMode?: | "lastNode"
    | "responseNode"
    | "onReceived";
}

Properties§

Source§

readonly authentication?: "none" | "basicAuth"

Default: "none"

Source§

readonly formDescription?: string

Shown underneath the Form Title. Can be used to prompt the user on how to complete the form. Accepts HTML. Type options: {"rows":2}

Source§

readonly formFields?: {
    values: {
        acceptFileTypes?: string;
        elementName?: string;
        fieldLabel: string;
        fieldName?: string;
        fieldOptions: { values: { option?: string }[] };
        fieldType:
            | "number"
            | "file"
            | "text"
            | "email"
            | "date"
            | "html"
            | "checkbox"
            | "dropdown"
            | "hiddenField"
            | "password"
            | "radio"
            | "textarea";
        fieldValue?: string;
        formatDate?: string;
        html?: string;
        limitSelection?: "exact"
        | "range"
        | "unlimited";
        maxSelections?: number;
        minSelections?: number;
        multipleFiles?: boolean;
        multiselect?: boolean;
        multiselectLegacyNotice?: string;
        numberOfSelections?: number;
        placeholder?: string;
        requiredField?: boolean;
    }[];
}

Default: {} Type options: {"multipleValues":true,"sortable":true}

Source§

readonly formTitle?: string

Shown at the top of the form

Source§

readonly options?: {
    appendAttribution?: boolean;
    buttonLabel?: string;
    customCss?: string;
    ignoreBots?: boolean;
    path?: string;
    respondWithOptions?: {
        values: {
            formSubmittedText?: string;
            redirectUrl?: string;
            respondWith?: "text" | "redirect";
        };
    };
    useWorkflowTimezone?: boolean;
}

Default: {}

Source§

readonly path?: string

The final segment of the form's URL, both for test and production

Source§

readonly responseMode?: "lastNode" | "responseNode" | "onReceived"

When to respond to the form submission Default: "onReceived"