Form¶
Node: form · Full type: n8n-nodes-base.form · Version: 2.5
Operations¶
page¶
| Parameter | Type | Default | Details |
|---|---|---|---|
defineForm |
options | "fields" | fields, json |
jsonOutput |
json | "[ | |
| { | |||
| "fieldLabel": "Name", | |||
| "..." | |||
formFields |
fixedCollection | {} | groups: values |
formFields |
fixedCollection | {} | groups: values |
limitWaitTime |
boolean | false | |
limitType |
options | "afterTimeInterval" | afterTimeInterval, atSpecifiedTime |
resumeAmount |
number | 1 | |
resumeUnit |
options | "hours" | minutes, hours, days |
maxDateAndTime |
dateTime | "" | |
options |
collection | {} | keys: formTitle, formDescription, buttonLabel, customCss |
completion¶
| Parameter | Type | Default | Details |
|---|---|---|---|
respondWith |
options | "text" | text, redirect, showText, returnBinary |
redirectUrl |
string | "" | required |
completionTitle |
string | "" | required |
completionMessage |
string | "" | |
responseText |
string | "" | |
inputDataFieldName |
string | "data" | |
limitWaitTime |
boolean | false | |
limitType |
options | "afterTimeInterval" | afterTimeInterval, atSpecifiedTime |
resumeAmount |
number | 1 | |
resumeUnit |
options | "hours" | minutes, hours, days |
maxDateAndTime |
dateTime | "" | |
options |
collection | {} | keys: formTitle, customCss |
Parameter Details¶
formFields children:
values group:
| Parameter | Type | Default | Details |
|---|---|---|---|
fieldName |
string | "" | required |
fieldLabel |
string | "" | required |
fieldLabel |
string | "" | required |
fieldName |
string | "" | |
fieldType |
options | "text" | required; checkbox, html, date, dropdown, email, file, hiddenField, number, ... (12 total) |
elementName |
string | "" | |
fieldName |
string | "" | |
placeholder |
string | "" | |
defaultValue |
string | "" | |
defaultValue |
dateTime | "" | |
defaultValue |
string | "" | |
defaultValue |
string | "" | |
fieldValue |
string | "" | |
fieldOptions |
fixedCollection | {...} | required; groups: values |
fieldOptions |
fixedCollection | {...} | required; groups: values |
fieldOptions |
fixedCollection | {...} | required; groups: values |
multiselect |
boolean | false | |
limitSelection |
options | "unlimited" | exact, range, unlimited |
numberOfSelections |
number | 1 | |
minSelections |
number | 0 | |
maxSelections |
number | 1 | |
html |
string | " |
" | |
| multipleFiles | boolean | true | |
| acceptFileTypes | string | "" | |
| requiredField | boolean | false | |
options children:
| Parameter | Type | Default | Details |
|---|---|---|---|
formTitle |
string | "" | |
formDescription |
string | "" | |
buttonLabel |
string | "Submit" | |
customCss |
string | ":root { | |
| --font-family: 'Open Sans', ..." |