I need to build a power app that has the following features:
1) When a user selects a Monday or Tuesday from a date picker control ("DatePicker1"), a Button control ("Button_Register") and a Label control ("Label_OpenSeats") will appear.
2a) When "Label_OpenSeats" appears, it will show the number of available seats that are left for the event.
2b) "Label_OpenSeats" should hold that value between logins from different users. Every Monday and Tuesday should have the same starting value but should have separately stored values (so if a user registers for a specific Monday, that should not affect any value of the following Monday/Tuesday/or any day other than that specific Monday).
3) When "Button_Register" is selected, it will:
3a) Decrease the number of available seats ("Label_OpenSeats") by 1.
3b) Prohibit that same user from registering for the same event.
I already did 1, 2a, and 3a. For 3b, I'd imagine I could store registered users in a collection and check if the current user is in the collection. But there would have to be a collection for each Monday and Tuesday, right? And for 2b, I'm really not sure.
Last but not least... one restriction... no data source outside of Power Apps. No storing users in a SharePoint list, Dataverse table, etc. The above tasks have to be completed using just Power Apps (Power Automate can be used).
I've tried working on the app for days, research various ways of completing the above tasks, just writing this post took a long time because I wasn't even sure how to describe what I need. Not sure I did a very good job but if you need any additional information, please let me know. Thanks!