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 / Restrict Registration ...
Power Apps
Unanswered

Restrict Registration Number for Multiple Classes

(0) ShareShare
ReportReport
Posted on by 2

Hi!

 

I'm making a training registration app with three different trainings in the form, along with different dates/times depending on the class selected. I am having trouble with capping each date/time option for each class choice at 20 attendees. The class options are all on the same form, but have filtered views dependent on the class chosen.

 

This is what I have so far for the first class date/time choices option. 

 

If(CountIf('Date/TimeLabel_6'.Text=DataCardValue4.Selected.Value>20,Notify("Class has reach maximum capacity!, please select another date",NotificationType.Error),SubmitForm(RegistrationNewForm);NewForm(RegistrationNewForm);Notify("Registration Successful", NotificationType.Success, 3000;Navigate('Home Screen'))

 

Does anyone have any advice as to what I am doing wrong? Or has anyone successfully done this in the past? 

 

Thanks in advance!

I have the same question (0)
  • JW-02101845-0 Profile Picture
    Microsoft Employee on at

    Hi - Can you tell us more about the schema (and data source) you are using?

     

    Typically, you want to store the registrations in a table/list and do your check (e.g. CountIf) on that source.  You should also be able to deactivate/unlist sessions that are full, so you could avoid any messaging.  

    Lastly, you might want to consider a "Wait List" option - so that when then count is over 20, folks could still sign up, but the status of their registration would be "Wait Listed" instead of "Confirmed".  

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard