copy cross site look up value to string field
I have an issue when trying to use a cross site lookup field in a workflow and apparently I cannot get aroung this issue. As such I thought I would try and store the value of the cross site look into a single text line on update.
I've used the following code that I found in the forums, however all I get is [object Object] in the text line
The code I'm using is:
fd.onsubmit(function(){
var lookuptext = fd.field('Employee_x0020_Name').control('getSelectedText');
fd.field('emplres').value(lookuptext);
return true;
});
Employee_x0020_Name is the lookup field and emplres is the single line field
I've used the following code that I found in the forums, however all I get is [object Object] in the text line
The code I'm using is:
fd.onsubmit(function(){
var lookuptext = fd.field('Employee_x0020_Name').control('getSelectedText');
fd.field('emplres').value(lookuptext);
return true;
});
Employee_x0020_Name is the lookup field and emplres is the single line field
-
- Posts: 2
- Joined: Mon Dec 03, 2018
I have a calculated value column called WorkOrderID that I would like to display in an email. How do I go about doing that?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests