Multi-Select Lookup Field

Multi-Select Lookup Field

I have a multi-select lookup field.  I am trying to write a script to attach to a radius button so if needed all items within that lookup can be selected.  However, what I am finding is that when you run the script, only the last item in the lookup is ever populated and selected.  this makes sense because for each is being used and it would only print the last item in the list.  is there any way to select all items within a multi-select lookup list.
  1. for each  tempTray in Bench_Rows
  2. {
  3. input.Bench_Rows.select(tempTray);
  4. }