Hi,
I am populating the dropdownlist from a webservice.
I set the display Name and Value fields of the
dropdownlist to UserName and UserId.
The dropdownlist is inside the reapeating table, so that
the user can add dropdown list and select another user.
I have to do this because we don't have list box in Infopath.
When I save the form the form's xml file contains only the userId.
I would also like to save the UserName in the form's xml file.
Cause I am reading the form's xml file and converting it to html
and I want to show only the UserName not the UserId.
I don't want to create another textfield and set its value to the UserName.
I have added a UserName field in the Main source.
I would like to fill this field with UserName.
I guess all I want to do is save the UserId and UserName in the form's xml file when a user selected an item from the dropdownlist.
Please let me know how I can do this.
Thanks
Praveen.
Praveen Kamisetty