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 form Description?: string§
readonly form Fields?: { ... }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 form Title?: stringShown at the top of the form
readonly options?: { ... }Default: {}
readonly path?: stringThe final segment of the form's URL, both for test and production
readonly response Mode?: "lastNode" | "responseNode" | "onReceived"When to respond to the form submission Default: "onReceived"
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}