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
01-31-2019 10:20 AM
The field name is just "name"
It displays me the value on save as expected
But i am facing issue when i go to Mobile phone form record, and if i try to select this name (As i have given reference of Sim table) to that it will show me the value but pops out when i select, i cant select it or retrieve this information. I feel its because the SIM name gets selected by combining the provider and phone number information? Not really sure could you please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 10:24 AM
What do you mean "Pops out"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 10:27 AM
I mean to say the names which are saved with the help of this script cannot be selected; like in i get an option to click on it but it do not consider the values, it just emerges out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 10:27 AM
Make Name field a calculated value.
Right click on the name field and configure dictionary. Check calculated check box and add this in the script.
(function executeRule(current, previous) {
var provider= current.provider_varible; //replace variables correctly
var phone= current.assosciated_phone_variable //replace variables correctly
var result = provider +'-'+phone;
return result;
})(current, previous);
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2019 02:15 AM
No even this does the same, the value just emerges out upon selection and it will not allow to save the record