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 / how to limit an user o...
Power Apps
Answered

how to limit an user one entry a day for forms in power apps.

(0) ShareShare
ReportReport
Posted on by

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!

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @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)
    )

     

     

  • Anirudh2022 Profile Picture
    on at

    Hi @Drrickryp 

    its throwing an error....Navigate is not permitted in OnStart.

     

  • Anirudh2022 Profile Picture
    on at

    Please give the solution. 

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    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.

     

    shujaathkhan_1-1654148326332.png

     

    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.

  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @Anirudh2022 ,

    Firstly Navigate OnStart can still work (and I suspect still will for some time with the issues this has caused) with the setting below

    WarrenBelz_0-1654411283414.png

    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

     

     

  • Verified answer
    Anirudh2022 Profile Picture
    on at

    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.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard