I have a custom module which is a list of 'candidates' - much like the contact module.

These are job candidates and I have a sub-panel 'language testing' which contains details of any english language tests they have taken, with the fields date and score.

candidates and language testing have a one-to-many relationship. How can I link a specific field in both of them? I have a unique number for each candidate. I would either like to be able to type this in the appropirate field of the language test form, so that the test score is recorded for that person (number) and displayed in the subpanel under that person's record/detail view... or have it work like the notes subpanel works in the contact module. When you go to add a new note under a contact the name field is pre-filled and you can re-select a different contact if you wish to.

I would really appreciate some help on this, even if you could just point me in the right file direction.

Version 5.2.0e community