Form Node - Dynamic List and Regex Validation

Hi n8n team,

The recent improvements to the form node have been fantastic and have made the forms infinitely more versatile. After setting up or revamping some forms recently I have some suggestions to further improve them

Suggestion #1: Field validation ruies
Being able to set validation rule (ie via regex) to individual fields, directly inside the form node.

Use Case:
We have forms where certain fields have requirements (ie max length). This validation must be performed manually after the form node, and then upon failure the flow redirect the user back to retry that node. Setting a validation rule inside the form node itself would both simplify the workflow design and improve the user experience.

Suggestion #2: Dynamic Dropdown Lists
Populating the options of a drop-down list with an array instead of static values.

Use Case:
Some forms need to present a drop-down list of options which are dynamic, such as a the results of a database query or previous form node selections.

Currently I’ve found a way to acomplish this by defining the form node with JSON, however it is cumbersome to implement and difficult to maintain. It also means any other fields on that same form also need to be defined manually in the same JSON expression and not via the field selection interface.

It would be a much better experience when writing and maintaining form nodes to have the option of using an array for the multi-select options instead of static values.