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 / Enable / Disable field...
Power Apps
Answered

Enable / Disable field based on other fields updated

(0) ShareShare
ReportReport
Posted on by 697
Hello,
Below is the view of my Power App form.
 
My Requirement is - 
When I open the form to make a new entry - VOID Date field should be enabled
  1. Once Void Date is added and form is saved, activate Document Date 1 and Document No. fields
  2. Once Document Date 1 and Document No. fields are added and form is saved, activate Ratings Date
  3. Once Ratings Date is added and form is saved, activate Receipt Date and Receipt No. fields
  4. And once Receipt Date and Receipt No. is added and form is saved by clicking Save button, disable Receipt Date and Receipt No. fields
This 6 fields gets visible based on dropdown i.e. Communication Center, which has 2 options - Modern Alarm and Remote Alarm. When Remote Alarm is selected this 6 fields gets visible.
 
Please advise on my requirement. Thanks!
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at
    A bit complex, especially the last bit - DisplayMode on all controls below
     
    Document Date 1 and Document No. controls
    If(
       !IsBlank(ThisItem.'Void Date'),
       DisplayMode.Edit,
       DisplayMode.Disabled
    )
    Ratings Date control
    If(
       !IsBlank(ThisItem.'Date 1') && !IsBlank(ThisItem.'Document No.'),
       DisplayMode.Edit,
       DisplayMode.Disabled
    )
    Receipt Date and Receipt No. controls
    If(
       !IsBlank(ThisItem.'Ratings Date') && IsBlank(ThisItem.'Receipt Date') && IsBlank(ThisItem.Receipt No.'),
       DisplayMode.Edit,
       DisplayMode.Disabled
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
  • Verified answer
    Ram Prakash Duraisamy Profile Picture
    5,846 Super User 2026 Season 1 on at
     
    As you are expecting once the save triggered. Give a try like below
     
    On Save : 
    If(!IsBlank(VoidDateField.Text), UpdateContext({varVoidSaved: true}))
    Set VISIBLE for Document Date 1 and Document No. as:
    varVoidSaved
    If(!IsBlank(DocumentDate1.Text) && !IsBlank(DocumentNo.Text), UpdateContext({varDocSaved: true}))
    Then the same way use this varDocSaved in other places and perform the opreation
     
    Create context variable and use it in other places
     
    Please mark as answer if my suggestion helps.
    Subscribe here for More Useful videos : https://www.youtube.com/@rampprakash3991
     
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for or if you need further assistance.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
  • Prem4253 Profile Picture
    697 on at
     
    Thanks! I was able to achieve using the logics provided by both of you.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard