web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update Form value with...
Power Apps
Answered

Update Form value with selected DisplayName in Combo box

(0) ShareShare
ReportReport
Posted on by 14

I have created an EditForm with a Combo box using Office365users to get the DisplayName successfully. The intention is to update the email address of the selected DisplayName into another Form field (Text) named "Approver's email". I search through many discussion & try different method but no luck to get the email address resolved in the combo box and store it into the text field in the form .

 

The DisplayName can be selected through "Office365Users.SearchUser({searchTerm:ComboBox4.SearchText})" in ITEMS in the Combo box (Single value), but the missing information is how to get the email address of the selected item... And how to update another Text field (DataCardValue ?).

 

Thanks !

Patrick 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    On the second form that you want display the name, put this in the default of DataCardValue:
    OldFormName.LastSubmit.namecolumn
    NOTE: editformName is the editform, namecolumn is the column name on the editform which holds datacardvalue for the Displayname

     

    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

  • PatrickCheung Profile Picture
    14 on at

    Hi Eka,

     

    Seems getting the DisplayName in the DataCardValue , Default with "ComboBox4.Selected.DisplayName".  Next question is how to get the email address that representing by the DisplayName. 

     

    Thanks !

    Patrick

  • eka24 Profile Picture
    20,925 on at

    Use:

    User().Email

     

    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

  • PatrickCheung Profile Picture
    14 on at

    Hi Eka,

     

    The User().Email is getting the current user which is myself using the Apps, but not the email address of the Combo box.  And cannot use something like User(ComboBox4.Selected.DisplayName).Email

     

    Thanks !

    Patrick

  • Verified answer
    PatrickCheung Profile Picture
    14 on at

    Oops ! ... Problem is solved by setting the Searchfield of Combo box to "Mail". Thanks !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard