Interface FormTriggerV1NodeParameters

Source
interface FormTriggerV1NodeParameters {
    formDescription?: string;
    formFields?: {
        values: {
            acceptFileTypes?: string;
            defaultValue?: string;
            elementName?: string;
            fieldLabel: string;
            fieldName: string;
            fieldOptions: { values: { option?: string }[] };
            fieldType:
                | "number"
                | "file"
                | "text"
                | "email"
                | "password"
                | "date"
                | "html"
                | "checkbox"
                | "dropdown"
                | "hiddenField"
                | "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?: {
        formSubmittedText?: string;
        ipWhitelist?: string;
    };
    path?: string;
    responseMode?: | "lastNode"
    | "responseNode"
    | "onReceived";
}

Properties§

§readonly formDescription?: string

Shown underneath the Form Title. Can be used to prompt the user on how to complete the form. Accepts HTML. Does not accept <script>, <style> or <input> tags. Type options: {"rows":2}

§readonly formFields?: { ... }

Default: {} Type options: {"multipleValues":true,"sortable":true,"fixedCollection":{"itemTitle":"={{ $collection.item.properties.find(p => p.name === "fieldType").options.find(o => o.value === $collection.item.value.fieldType).name }}"}}

§readonly formTitle?: string

Shown at the top of the form

§readonly options?: { ... }

Default: {}

§readonly path?: string

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

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

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