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 / Disable Button after O...
Power Apps
Answered

Disable Button after One Click and Re-enable Button after 12:00 AM ( 00:00 ) Local Time

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to Disable Button after One Click and Re-enable Button after 12:00 AM ( 00:00 ) Local Time.

 

Please help me how to do it ???

 

Capture.PNG

Categories:
  • Verified answer
    Abhilash_Swain Profile Picture
    901 on at

    Hi @Anonymous ,

    use the below screenshot to store a value to a hidden text field.

    Abhilash_Swain_1-1627986129415.png

    In the visible section compare the value with today. If  ! equal , then visible

     

    Abhilash_Swain_0-1627986082009.png

     

    Please give a thumbs-up /accept it as a solution if I answered your question.

    Thnaks

    Abhi

     

  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    To disable the button you can set this on property Onselect:
    Set(varBtn; false)


    And on visible: varBtn

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @Abhilash_Swain , Thank you. This for me.

     

    But is there anyway to gradeout the button instead of making it disappear ??

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello  @Nogueira1306 , this also works for me. 

     

    But is there anyway to gradeout the button instead of making it disappear ??

  • Verified answer
    Abhilash_Swain Profile Picture
    901 on at

    @Anonymous uses the property DisplayMode for the button.

    DisplayMode.Disable to disable button and DisplayMode.edit to enable it for click.

     

    In my earlier reply, I tried to enable the button after 24 hr that is the next day.

     

    Please give a thumbs up or accept it as a solution if I answered your question.

    Thanks

    Abhi

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard