Look in the console for errors.
You don't use the values of the fields:
event.value = team;
You must use:
event.value = team.value;
Thank You for the suggestion Bernd, although it did not work, it did give me an idea. I assigned the variables:
var team = this.getField("Team").valueAsString;
It works as I hoped but have no idea why - can anyone explain this or point me in the direction where I can understand it better?
1 person found this helpful