I am trying to retrigger a lookup. I have been partially successful clearing the value out and putting it back in:
var guVal = LFForm.getFieldValues({fieldId: 23});
var changeGU = function(){
console.log("function run");
LFForm.setFieldValues({fieldId: 23}, "");
setTimeout(function(){
LFForm.setFieldValues({fieldId: 23}, guVal);
}, 500);
};//end changeGU
changeGU();
The problem, which is strange, is that not all the lookups run that are hooked to this field. I can move them up the order and they will run, but further down they do not run.
Is there a better way to trigger a change to a field anyone is using?
Thanks!