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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check box to grey out ...
Power Apps
Unanswered

Check box to grey out a text box

(0) ShareShare
ReportReport
Posted on by

I've seen this question answered in a few posts but, to be honest, the solution doesn't work to me.

 

Everywhere it says to add the following on the textbox:

If (Checkbox1.Value = false, DisplayMode.Disabled, DisplayMode.Edit)

 

I've also tried to add the following on the checkbox triggers:

OnCheck : TextInput5.DisplayMode.Edit

OnUncheck: TextInput5.DisplayMode.Disabled

 

But look at the video, it changes the Textbox text but doesn't do anything.

 

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @Anonymous ,

     

    You should apply the code for the TextBox to the DisplayMode property. As I can see in the video, it is applied to the Default property.

     

    You can remove the OnCheck and OnUncheck properties of the Checkbox.

  • Community Power Platform Member Profile Picture
    on at

    @BCBuizer 

    Thanks!

    As you can see I'm just began with Power Apps and is not easy to get used to it.

  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @Anonymous, 

     

    That's how it starts 🙂 Glad the issue is resolved.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard