In the new Item form of a list I am working with, I am using vLookup to display a single line of text-type value from another list. What I’d like to do is capture that value that is returned and do some string manipulations to display a different value to the user in the same form. I tried to use the following to capture the vLookup value but am getting “undefined”.
var str = getFieldValue(‘vLookupIntFieldName’);
I also tried the following but I get undefined as well:
var str = spjs.vLookup.dataObj[“vLookup11”][getFieldValue(“_vLookupID”)];