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 / Auto populate text fie...
Power Apps
Answered

Auto populate text field based on dropdown selection

(0) ShareShare
ReportReport
Posted on by 80

Hi,

 

I have a dropdown with Choices type column in SharePoint list: represents the code for each center.

Then I have a text field where the center's manager name should be in. 

I don't store any data of center's managers in the sharepoint list.

 

What I want to do is if user choose the code for Center A at the dropdown, I want to auto-populate Center A's manager name in the text field. 

 

I was wondering if I have to store any data of the managers' names in the sharepoint list or whether it can be done much simple. 

Any input will be appreciated, thank you s

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @pinball2 ,

     

    If you have a few centre managers, you could easily manage this in the app. For example, apply the below to the Text property of a Label:

     

    Switch(
     Dropdown1.Selected.Value,
     "Centre A",
     "Centre Manager Name A",
     "Centre B",
     "Centre Manager Name B"
    )

     

     

    If you are expecting to have a more than a few dozen centre managers, it would be easier to develop and maintain this by storing the Centre Manager's in a separate list and then performing a Lookup.

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

  • pinball2 Profile Picture
    80 on at

    Hi, thank you so much!

     

    I don't have text property -- the text box is in the form so maybe that's why? 

     

    Can I do that on 'Default' property?

  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @pinball2 yes you can apply the same principle to the Default property of the Data Card Value.

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard