Merging two fields into one field

Dear Suites,

I have been searching around and found some similar topics and also complicated ones.

Is there a possibilty to for example create 3 fields like title, first name, last name. Then create another field called Full name and be that [title][first_name][last_name]/

I tried putting it as default value in a text field but no succes.

@smart
It’s work only for field: $firstName, $lastName, $salutation, $title and a module based on “Person” object. You can look at function “_create_proper_name_field” in file:
include/SugarObjects/templates/person/Person.php

You can write a similar function or use logichook “process_record”.

Next to logic hooks, you could also use the workflow module to concat those 3 fields into one (no php knowledge required).