I have an InfoPath form with a repeating table, which populates a SP list (list1). All fields I'm talking about are in the repeating table (in case that matters).
One of the fields is a lookup field, which retrieves its options from another SP list (list2).
I would like to set the default value of a text field in list1 to the *display name* of the selection in the lookup field. I only managed to get the text field to show the *value* (some number).
Can that be done at all?
(Background: I would like to offer the user a choice for that text field based on values from list2, but at the same time leave the freedom to change that text to something entirely different. The content of list2 is also dynamic, which means I can't use some term store solution. To that end, my idea was to offer the lookup field and then transfer its display name to the text field, where the user can leave or modify it as needed. If you have a completely different suggestion as to how I can achieve my goal, I'd also be happy to give that a go!)
Here's the layout of the SP list system (leaving out many more irrelevant columns)
List1 "Meeting"
Date "Date"
Choice "Type"
Calculated "Date_and_Type" = Concatenate([Date];" ";[Type])
List2 "Agenda"
Lookup -> Meeting.Date_and_Type
Text "Title"
List3 "Minutes"
Lookup -> Meeting.Date_and_Type
Lookup -> Agenda.Title
Text "Topic"