How to show value of a field in another field


I am have a created a module using module builder (similar to contacts), it includes first name,last name, name. What I need is I will enter details only in first name and last name and I have to show the full name (fname + lname) in name field. how this can be achieved?

I think this is to be done with vardefs, am I correct here?


You can use logic_hooks take a look at the documentation

best regards

Yes, Thanks mike.

I have got experience with logic hooks but want to know is it possible to include logic hook function for the module which is built using module builder?if yes , where to place the files in that module?