Umbraco Forms - pre-populate form with values from existing record

Hi guys,

Got a bit of a weird requirement here, we basically need a way for our users to pre-populate a new record with values from an existing record.

I have actually managed to hack something together that works… kind of… but the issue is that it’s actually updating the existing record rather than creating a new one.

My current approach is to manually render the form using a custom view component, using IFormRenderingService and specifically the PrePopulateForm method, and this kind of works, but as mentioned above it leads to the existing record being updated rather than a new record being created.

Has anyone got experience with this kind of thing?

Any help is greatly appreciated!

PS I’m using Umbraco 13.

TIA

Phil

Instead of “guys”, may we suggest, for example: “folks", “Umbracians”, “all”, or “everyone”? We use gender inclusive language in this forum :grinning_face: (read more)