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 / Timer Based on Submit ...
Power Apps
Unanswered

Timer Based on Submit Form

(0) ShareShare
ReportReport
Posted on by 72

I have a button in my homepage that navigates to a form where I collect information. 

I want to setup a timer based program where if the form is submitted the Homepage button is disabled for 1 hour and then becomes functional again. 

Is there someone who could help me with this. 

 

Thanks in advance

 

Categories:
  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @ATUFAILHAASAN ,

    If this is in the current session, start the timer with a Variable

    UpdateContext({varTimer: true})

    then OnTimerEnd

    UpdateContext({varTimer: false})

    then the DisplayMode 

    If(
     varTimer,
     DisplayMode.Disabled,
     DisplayMode.Edit
    )

    but this only applies for the current user if they keep the app open. If you are wanting other users (or the current user if they close and open the app not to be able to do this, on the DefaultMode of the Form - you will have to insert the Form Item where indicated

    If(
     DateDiff(
     FormItemHere.Modified,
     Now(),
     Hours
     ) < 1,
     FormMode.View,
     FormMode.Edit
    )

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • ATUFAILHAASAN Profile Picture
    72 on at

    Thank you @WarrenBelz ,

    Could you possibly share some screenshots on the ones that you are referring. 

    I am not able to fully replicate what you said. 

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @ATUFAILHAASAN ,

    I have not done any screens - just provided some code guidance - what is not working ?

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

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard