Concatenation

Hi,
I hope someone can help. My dilema is quite straight forward, I have three fields from the same table in a form, the fields are:

first_name
surname
full_name

I want to fill in the first_name field and the surname field, I want the field full_name to autofill with the concatenated value of first_name surname.

Support have very kindly told me I need to create an Ajax onChange event with the function to carry out this concatenation.

I have tried this, with many different variations of syntax and many different results from errors to output messages. None of these results have been anywhere near what I need. (please accept my apologies if my frustration is starting to appear!)

Appreciate any help you can give

Re: Concatenation

In onChange event make simply:

{full_name} = ({first_name} . " " . {surname});

Re: Concatenation

Really appreciate the simple solution.

I had been guided in the wrong direction (should have used beforeupdate event not onchange ajax event) and towards php coding that was unnecessary.

Thank You.