Hi all
I Searched Forum infopathdev and did not find any answer.I have one People Picker Control and 2 Text Box.
i set Value's of First Box to
eval(eval(Person, 'concat(" - ", pc:DisplayName)'), "..")
and it works fine and also i created Sharepoint List with only 2 Column "Title, Phone Number" and Title is equal to Display name.Second Text box should get Value from Second Data Source and show all Value equal to display name.For Example in Sharepoint List :
| Title |
Phone Number |
| Patrick |
091325 |
| Behrouz |
064685 |
| Shirin |
024685 |
| David |
055685 |
| Babak |
065788 |
If I Type All Username in People Picker control , Values in first text box would be :
Patrick - Behrouz - Shirin - David - Babak
and when it's done , Second Text box should get data From Sharepoint List then show all Values in Second Text box , Like this :
091325 - 064685 - 024685 - 055685 - 065788
i tired to Set
eval(eval(PhoneNumber[DisplayName = Title], 'concat(" - ", xdXDocument:GetDOM("Phone Number")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Phone Number)'), "..")
So any Idea ? Thanks.