Hi,
I have a model-driven app whereby, there is a column field which is a look-up to the AAD User table, as below...

When the person in the search results is selected, this populates their name in the PeoplePickerTest field.
What I want is, when someone is selected in the lookup field of PeoplePickerTest, for the selected person's email address to automatically populate the form field below of PeoplePickerEmail with the selected person's email address.
I think I would need some kind of javascript to do this possibly? Or is there a simple way that I am missing?
Thanks
K.