Is it possible to display field value by combining two fields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 07:39 AM
I have two fields on my form
1. Provider
2. Associated Phone Number
I want the third field "Name" to display by combining the value of these two fields
Example:
Provider = Sim
Associated phone number = 12345
Name = Sim - 12345
Can we achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2019 02:11 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2019 03:03 AM
HI,
IF you want to see this OOB Functionality check Asset management module. Once you create asset it use's asset tag and model as display name.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2019 03:07 AM
Hi,
Plaese try to below code :
var fname = g_form.getValue('provider');
var lname = g_form.getValue('associatephone number');
var first_name = fname.toLowerCase();
var last_name = lname.toLowerCase();
var userID = first_name+'.'+last_name;
var display_name = fname+' '+lname;
g_form.setValue('u_name',display_name);
Please mark reply as Helpful/Correct, if applicable. Thanks!