Announcements
I created an app which collects employees daily Temperature data with the help of Office365 connector for fetching basic data like(Name, email, etc) and storing it in SP list. Now i just want an user can fill this form once a day and whenever an user tries to fill the form 2nd time it will show the pop up/message like "You already filled this". thanks!
@Anirudh2022
In the OnStart property of the app,
If( IsBlank( Lookup( yourtable, emailcolumn=User().Email, datecolumn=Today() ),Navigate(Screen1), Notify("You already filled this", Error) )
Hi @Drrickryp
its throwing an error....Navigate is not permitted in OnStart.
Please give the solution.
Hi @Anirudh2022 ,
On App.OnStart you cannot have Navigate, Microsoft has deprecated Navigate on App.OnStart
Instead, you can use App.StartScreen as below snap and formula as needed.
If the delay is longer you can also think of using a pre-loader for better user UX.
Thanks
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.
Firstly Navigate OnStart can still work (and I suspect still will for some time with the issues this has caused) with the setting below
so @Drrickryp ' s code will work, however you could have a warning screen with one button with the OnSelect of
Exit()
and the message in a Label then in StartScreen
If( IsBlank( LookUp( yourtable, emailcolumn=User().Email && datecolumn=Today() ) ) Screen1, YourWarningScreen )
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.
Visit my blog Practical Power Apps
the final code:
If(IsBlank(LookUp('Emp data test',Name = User().FullName && DateValue('Date & Time') = Today())),Screen1,Screen2)
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 411 Super User 2026 Season 2
Mohsin Ali 338
WarrenBelz 256 Most Valuable Professional