This topic is locked
[SOLVED]

 Combine Fields in Event

11/20/2011 11:15:06 AM
PHPRunner General questions
J
jbelanger author

I am looking to combine 2 fields (FathersFirst and FathersLast) into another field called full name. I would like to do this at the time the record is added or updated. I have tried below in hte "before record added and before record updated" without success. Thanks
$values["fullname"] = $values["FathersLast"] "," $values["FathersFirst"];

Sergey Kornilov admin 11/20/2011

In PHP concatenation operator is . (dot)

$values["fullname"] = $values["FathersLast"] . "," . $values["FathersFirst"];
J
jbelanger author 11/20/2011

That did the trick. Thanks