Help passing data from lightbox to page code

I didn’t seem to get it. If you can assist with the code up there, please do