interface FormNodeParameters {
completionMessage?: string;
completionTitle?: string;
defineForm?: "json" | "fields";
formFields?: {
values: {
acceptFileTypes?: string;
defaultValue?: string;
elementName?: string;
fieldLabel: string;
fieldName: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "password"
| "date"
| "checkbox"
| "html"
| "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;
}[];
};
inputDataFieldName?: string;
jsonOutput?: string;
limitType?: "afterTimeInterval"
| "atSpecifiedTime";
limitWaitTime?: boolean;
maxDateAndTime?: string;
operation?: "page" | "completion";
options?:
| {
buttonLabel?: string;
customCss?: string;
formDescription?: string;
formTitle?: string;
}
| { customCss?: string; formTitle?: string };
redirectUrl?: string;
respondWith?:
| "text"
| "redirect"
| "showText"
| "returnBinary";
responseText?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
}
Properties§
readonly completion Message?: string
readonly completion Title?: string
§readonly define Form?: "json" | "fields"
Default: "fields"
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 input Data Field Name?: string
Find the name of input field containing the binary data to return in the Input panel on the left, in the Binary tab. You can provide multiple comma-separated field names. Default: "data"
readonly json Output?: string
Default: "[\n {\n "fieldLabel": "Name",\n "placeholder": "enter your name",\n "requiredField": true\n },\n {\n "fieldLabel": "Age",\n "fieldType": "number",\n "placeholder": "enter your age"\n },\n {\n "fieldLabel": "Email",\n "fieldType": "email",\n "requiredField": true\n },\n {\n "fieldLabel": "Textarea",\n "fieldType": "textarea"\n },\n {\n "fieldLabel": "Dropdown Options",\n "fieldType": "dropdown",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n },\n "requiredField": true\n },\n {\n "fieldLabel": "Checkboxes",\n "fieldType": "checkbox",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n }\n },\n {\n "fieldLabel": "Radio",\n "fieldType": "radio",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n }\n },\n {\n "fieldLabel": "Email",\n "fieldType": "email",\n "placeholder": "me@mail.con"\n },\n {\n "fieldLabel": "File",\n "fieldType": "file",\n "multipleFiles": true,\n "acceptFileTypes": ".jpg, .png"\n },\n {\n "fieldLabel": "Number",\n "fieldType": "number"\n },\n {\n "fieldLabel": "Password",\n "fieldType": "password"\n }\n]\n" Type options: {"rows":5}
readonly limit Type?: "afterTimeInterval" | "atSpecifiedTime"
Sets the condition for the execution to resume. Can be a specified date or after some time. Default: "afterTimeInterval"
readonly limit Wait Time?: boolean
Whether to limit the time this node should wait for a user response before execution resumes
readonly max Date And Time?: string
Continue execution after the specified date and time
readonly operation?: "page" | "completion"
Default: "page"
readonly options?:
| {
buttonLabel?: string;
customCss?: string;
formDescription?: string;
formTitle?: string;
}
| { customCss?: string; formTitle?: string }
Default: {}
readonly redirect Url?: string
§readonly respond With?: "text" | "redirect" | "showText" | "returnBinary"
Default: "text"
readonly response Text?: string
The text to display on the page. Use HTML to show a customized web page. Type options: {"rows":2}
readonly resume Amount?: number
The time to wait Default: 1 Type options: {"minValue":0,"numberPrecision":2}
readonly resume Unit?: "minutes" | "hours" | "days"
Unit of the interval value Default: "hours"
Type options: {"rows":2}