Form submission change dynamically

Hi,

I’m using n8n form submission. I would like to modify dynamically my form while user is answering question. For example, if answered yes, go to question 10 if no, provide a text field to say why “no”.

Thanks

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

You can do this with the new multi-form feature. The “Next Form Page” node allows to specify fields dynamically using JSON.

Here is a more complex example which uses that feature: Import workflows and map their credentials using a Multi-Form | n8n workflow template

Thanks for the answer, is it available on the self hosted version?
Thanks :+1:

Hello the function was introduced recently. If you are on the newest stable version you should have access to it. You can also check out the most recent n8n video on YouTube (October Meetup) https://www.youtube.com/live/xQCAtzW369k?si=ytYk23AxCgXEWKV2&t=762

1 Like

Thanks for your answer, that’s solved my challenge.
Happy to help Product Team on giving my feedback if that helps.
Cheers

Edit: I saw in the YT video that form fields were predefined (not greyed) and are added as PHP value straight into the URL ? Is there any way to predefined values inside the node instead of the URL ?

I don’t think so. Was looking for that as well. Only possible with the trigger node and within the URL and even then it does not work for select fields.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.