Update subform dropdown field choices - on load workflow

Update subform dropdown field choices - on load workflow

Hi, 
I have a "Check In" form that has "Contacts" subform and a "Tickets" subform.

When the form is loaded, I want to populate one contact and the number of tickets. 
I want the "Contact" field in the "Tickets" subform to have the choice of "Contacts."

Attached is the "on load" workflow:

  1. // add default contact
  2. contact = Check_In.Contacts();
  3. contact.Name.first_name = "Adam";
  4. rows = Collection();
  5. rows.insert(contact);
  6. input.Contacts.insert(rows);

  7. //add tickets
  8. t = Check_In.Tickets();
  9. t.Ticket_field = "11111";
  10. tickets = Collection();
  11. tickets.insert(t);
  12. input.Tickets.insert(tickets);

  13. //qdd chioces
  14. choices = input.Contacts.Name.first_name;
  15. Tickets.Contact:ui.add(choices); 
when loading the form, the choices are not updated. Any ideas?