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!