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 / Leverage Timer for Com...
Power Apps
Answered

Leverage Timer for Comment Box Notification Label

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I have Form1.

In Form1 I have a comment box, with a submit button, and the box is overlayed by a notification message that indicates the comment has been successfully saved.

Phineas_0-1701186333573.png


I also have a 'timer' on the screen with the following formula, being used to control the presence of the default PA success/fail notification (that appears in the header). I want to leverage the timer and coding to control how long the comment box notification last on the screen and then navigate the user to the 'Main Screen'.

     Switch(varPressed,
                "In Draft",
                      Notify("Your meeting request has been successfully save in draft", Success, 5000),
     Switch(varPressed,
                "In Draft",
                      Notify("Your meeting request has been successfully submitted", Success, 5000),

Categories:
I have the same question (0)
  • Verified answer
    Pro_User_365 Profile Picture
    546 on at

    Hi @Phineas ,

    1. Set the Timer's Duration property to the time you want the notification to display (e.g., 5000 for 5 seconds).
    2. Set the Timer's AutoStart property to false so it doesn't start automatically.
    3. In the 'Submit' button's OnSelect property, after saving the comment, start the timer by setting its Start property to true.
    4. In the Timer's OnTimerEnd property, navigate to the 'Main Screen' using Navigate(MainScreen, ScreenTransition.None) and reset the timer's Start property to false.

    This setup ensures the notification shows for a set duration before the screen navigation occurs.

     

    Note: After receiving the answer, if you think it's helpful, please consider accepting it. 😊 Regards! Ali Shahzad
     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard