Buy Now
Sign in

Concatenate 2 fields with Save Data in one field

JoCo , April 08 2021, 14:12
J
JoCo 114
April 08 2021, 14:12 #396234
Dear all,
is it possible to concatenate 2 fields in the Save Data in a form chronoforms v6.
For instance to save the form-fields First name and Last name in a database field Name.
Can i use the option "Data overrides" and what should be the syntax of that concatenation string.
Regards , JoCo
C
Colnem 39
April 09 2021, 13:45 #396238
 Answer
Hi... Try this:
value: {data:field1}{data:field2}
J
JoCo 114
April 09 2021, 13:54 #396239
Thanks, i will try this also.
I found already is simple solution.
I placed an php action before the save date and in that php action i concatenated the two values and then i write that value back to the appropriate field.