Problem with autopopulation and get selected items

Rob, thank you very much. This works. Not exactly as written by you, but it gave me solution to put Candidate__r.Id field :) 

Superb!
Have a nice day.