Describe the problem/error/question
Hi,
I encountered an issue with the Form node in n8n (version 1.121.3, self-hosted on VPS). In a very simple workflow (Form Trigger → Form), when I define the form fields using the “using JSON” option like this:
[ { "fieldLabel": "Enter date", "fieldType": "date" } ]
after filling in the date and clicking “submit,” I get the following error:
Problem in node ‘Form‘ Cannot read properties of undefined (reading 'length')
Interestingly, if I switch the Form node to “using fields below” and select a date field, everything works correctly. The problem only occurs when defining fields via JSON, even in the simplest setup (just one Form node with a single date field).
I found some forum posts and documentation about issues with other field types (like hiddenField, html, checkbox, radio), but nothing specifically about the date field. I also couldn’t find any information confirming this bug is known or fixed in this n8n version.
Has anyone experienced a similar problem or found a solution?
Thanks in advance for your help!
What is the error message (if any)?
Problem in node ‘Form‘
Cannot read properties of undefined (reading ‘length’)
Please share your workflow
Share the output returned by the last node
[
{}
]
Information on your n8n setup
- n8n version: 1.121.3
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Linux (VPS)
