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 / Value and display mode...
Power Apps
Unanswered

Value and display mode of one field based on the value of another

(0) ShareShare
ReportReport
Posted on by 84

I have two fields one a drop down and another text. The value and display mode (edit and view) of the text field should be populated based on the value of the drop down. The form is in Power Apps and updates a SharePoint list. I have attached an image for better understanding.

 

Please help

 

Thanks in advance.

 

Dependent values.jpg

 

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ramsabi 

    Consider the following:

    1) Set the Default property of your TextInput control for Revision # to the following:

    Switch(dropdownRequestType.Selected.Value,
     "New", "Initial",
     "Obsolete", "N/A",
     "Revision", ""
    )

    2) Set the DisplayMode of the TextInput to the following:

    If(dropdownRequestType.Selected.Value = "Revision", Edit, View)

     

    I hope this is helpful for you.

  • ramsabi Profile Picture
    84 on at

    Thank you for your response. That is not working.
    I should have mentioned that the Values for the "Request Type" dropdown are coming from a list in SharePoint and I am using SharePoint's "Title" column for "Request Type". Maybe it would be easier if I added a column for "Revision #" in the list?

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ramsabi 

    Well, you're most likely going to need a column to store the revision #, but that is aside from your original question.

    However, for your Request Type dropdown, what is your Items property of that control?  You will need to utilize whatever record column that property has in its table.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard