Hi,
I have a form with a choices field which links back to a SharePoint list (let's call it dropdown1) . This choices field contains a list of Divisions within the business (IT, HR, Finance etc).
I have a second choices field which contains a list of email addresses (the executive directors in charge of each of the divisions), let's call this dropdown2.
I'm looking for an efficient way of linking the relationship between the Division and it's associated Executive Director, without the end user having to select both dropdowns in the form. So for example, let's say Joe Bloggs is the IT director. When completing the form in the app the user would select 'IT' from dropdown1, this would then automatically select / populate dropdown2 with joe.bloggs@testcompany.com.
To tackle this, I've looked at editing the 'OnChange' property of 'dropdown1' with an If statement:
If(dropdown1.Selected.Value="IT",
But then I'm a bit stuck with the 'then' statement, and looking through the list of functions I'm not even sure if what I'm attempting is possible.
I don't suppose anyone's come across something similar? Or has a better way of achieving this?