Help! How to assign Multiple Items Reference Field?

Hello, I am hoping that one of the experts can assist with some sample code or shed some light on this process. Using the Movies and Actors analogy… I have two databases, one for Movies and one for Actors . Inside the Movies database there is a multi-items reference field that links to Actors .

Now, I would like to create a form located on the Movies page (dynamic) where I can add new Actors to the movie. Does anyone have any code that I can get started with?

Currently, there is no way to reference the Movies multi-items field using the page elements. The only option is using code. Using a Dynamic Movie page, how do I add actors and have the movie automatically set to the corresponding movie page value and set in the collection upon submit?

Going to give this another shot… anyone have any helpful feedback? Sample code? Anything would be appreciated. Thank you.