Hi!
For a customer I’m working on a form with some hidden fields, but it may be submitted by contacts who already are in his database. In this case I want the hidden field to “respect” the existing value and to not edit that. (Example: the form writes on the “Source” property I created, but that contact already exists and has another source).
I think I need a workflow to do this, are there other tricks or workarounds that I’m missing?
Thanks!
Hi @ACreti,
This is not possible - form submissions always overwrite existing values.
You would have to create an additional field, and use a workflow that copies from the form field to the new field, but only when the target field is empty.
e.g.
- Contact form fills field “Example field (form)”
- Workflow re-enrolls contacts when “Example field (form) is known” and “Example field is unknown”, then use “Edit record” to copy value from “Example field (form)” to “Example field”
Best regards
Hi @ACreti,
You would need:
- One property, Source from your example
- Remove the hidden property from your form so it doesn’t overwrite contacts
- A workflow that is triggered by form submissions (choose your form), with the following steps:
- Branch for users that have Source = is known → do nothing
- Branch for the rest of the users → Edit record > Source = the previous hidden field from your property
This way, only users that submit the form and do not have Source filled in will receive the Source value you set. The others will keep their original source - and this is actually the best practice to approach it, congrats!