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 / Set Datacard READ ONLY...
Power Apps
Answered

Set Datacard READ ONLY once a Value is selected from a Selection List

(0) ShareShare
ReportReport
Posted on by 21

Hi Folks,

 

Is there a Possibility to set a "DataCard" as READ ONLY within the EDIT SCREEN  once a value from a dropdown list is selected ?

There is only one selection possible in my Case

 

1) Selection empty  = Selection should be possible here

 

Mitsch_0-1636558890307.png

 

2)  Selection Process

 

Mitsch_1-1636558928199.png

 

3) Once a Value is selected this DataCard should be READ ONLY

 

Mitsch_2-1636558974813.png

 

Best Regards

Michal

 

 

Categories:
  • Verified answer
    PTBBSolutions Profile Picture
    691 on at

    Hi @Mitsch ,

     

    Yes, you can do that.

     

    On the OnChange event of the Dropdown you can put something like:

    If(
     !IsBlank(Self.Selected.Value),
     Set(
     VarSelection,
     true
     ),
     Set(
     VarSelection,
     false
     )
    )

     This will create a boolean variable.

     

    Change the AllowEmptySelection to true.

     

    In your form, select the datacard you want to disable, go to Advanced and Unlock to change properties.

     

    After that go to the DisplayMode of the same datacard and put this:

    If(
     !VarSelection,
     DisplayMode.Edit,
     Disabled
    )

    Hope this helps.

  • Mitsch Profile Picture
    21 on at

    HI PTBBSolutions,

    That works like a a Charm  - Thank you very much !!

     

    Greetings Mitsch

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard