Webforms populate already existing row

Hi there !

I would like the data sent from a webform to populate an already existing row instead of creating a new row. Is this possible? Maybe with the row_id passed into a URL parameters?

Thanks

This is not possible with a webform. Instead, you can generate a universal app, create a view and limit it to this specific row.

Hi @Axel ,
Another solution I sometimes use:

  • Create another table containing the same columns as the first one, and an extra column containing a reference to the concerned row for example, as you said, the row_id
  • Create a form for this new table with the reference passed into the URL as prefilled non-modifiable field
  • Create an automation to modify the data of your first table each time a form is submitted in the second table

Doing so, as you will generate specific URLs for each row of the first table, you have the possibility to prefill every field with the data from the first table, allowing, for example, a user to modify all the personal data he fulfilled during his first submission.

Personally, I use n8n both for generating the specific URL for each row and to trigger the modification of the row when a “modification form” is submitted

Bests,
Benjamin

2 Likes

@bennhatton brilliant idea! I will give this a try. Thanks

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