Arsh1
Tera Contributor

Can you tell me where or how i have to write this code?

Inside this function:

 

$scope.$on("field.change", function(evt, parms) {

if (parms.field.name == 'building') {

c.data.building_dv = parms.displayValue;
c.data.building = parms.newValue;
}
});