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

Enable / Disable field based on other fields updated

(0) ShareShare
ReportReport
Posted on by 652
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
    153,462 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,631 Super User 2025 Season 2 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
    153,462 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
    652 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

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
Kalathiya Profile Picture

Kalathiya 421

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard