Add 2 Default Values To Multi-Select Lookup Field Not Working (On Load)

Add 2 Default Values To Multi-Select Lookup Field Not Working (On Load)

Hi,

I'm having problems setting a multi-select field to have 2 default values on form load.
The field is a lookup field with 8 options to select from and 2 of these always need to be selected, as standard. I have approached this many ways but can't seem to get it to work.

I am trying to pull the 2 default options through using their ID's and have 2 to set manually.

What I have tried:

Scenario One:
  1. input.field = 123456789;
  2. input.field = 987654321;
This works, however, it only sets the last ID as it's overwriting.

Scenario Two:
  1. input.field:ui.add(123456789);
  2. input.field:ui.append(987654321);
This doesn't do anything for me. I have tried this using only add, append and mixed.

Scenario Three:
I have created a list() and looped through the values stored and set them to input.field:ui.add and append. This also doesn't work for me.

I'm pretty sure I'm missing something here but can't seem to figure out what?!

Any help or guidance will be greatly appreciated.

Thanks

TOG