- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 04:58 AM
how to get display name as first name + middle name + last name
first name = Hemanth
middle name = kumar
last name = c
thn the display name: Hemanth kumar c
Solved! Go to Solution.
- Labels:
-
Field Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 05:33 AM
hi
output
Thanks,
Rahul Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 05:05 AM
Hi Hemantnh
Could you give a little more detail. Is this a form on a particular table? Is it a catalog item or producer etc.
Also Does it matter if the Display Name field is a string field or not?
Just a little more detail please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 05:12 AM
it is in catalog item & display name i select as single line test

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 05:18 AM
you can write onchange catalog client script here,
sample script :
var fn = g_form.getValue('first_name');
var mn = g_form.getValue('middle_name');
var ln = g_form.getValue('last_name');
var res = fn+' '+mn+' '+ln;
g_form.setValue('display_name',res);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 05:19 AM
var first= g_form.getValue('first_name');
var middle= g_form.getValue('middle_name');
var last= g_form.getValue('last_name');
var dispName= first + " " + middle + " " + last ;
g_form.setValue('display_name',dispName);