Hi,
I am new to using SharePoint Lists as a source of data in an InfoPath form and need a little help. I created two SharePoint lists (Primary Assignment) and (Secondary Assignment). Both lists contain two columns: one column for the user name (Title) and the other column for their corresponding email (Email).
In my data connections, I created two connections to retrieve the data from SharePoint: ID, Title and Email.
In my InfoPath form, I have two drop down lists configured to pull the Titles from each SharePoint list.
I also have two text fields [Email1], [Email2] which I have set up on an email data connection.
The end result I am trying to accomplish is that when a selection is made in the primary dropdown, that the email for that person is set to the [Email1] field and similarly, when a selection is made in the secondary dropdown that the email for that person is set to the [Email2] field.
I tried creating a rule but it keeps pulling back the very first email on the SharePoint list and not the email for the person selected. I am just not getting how to do this. Any guidance you can provide is much appreciated. Thanks in advance!