Dynamic Lookup boxes?

Dynamic Lookup boxes?

Hi,

I have 2 forms. One is a form of Training Sessions (location, date etc), and a form of Bookings, where people have booked the sessions.

I need to create a Register, so another form where attendees can register their arrival to a session.

I want the form to have a pulldown for sessions (dynamic) which will then display only the applicants names who are registered/booked in to that session. So basically a lookup needs to create a dynamic list of names to choose from. 

I tried using the :ui.add("") on a multi check list, but this does not seem to accept the 'Name' data type as an input.

Any tips?

Thank you