I have a SharePoint Custom List, that manages classrooms and the time when they are used (pretty much it schedules classes) and I need to validate that the classroom is not used on the time that is submitted.
The form has the following fields:
-Start, End (date and time type of data)
-Classroom (Drop down list)
So, I need a rule on the classroom or submit button that displays "Classroom is scheduled for that time, please select another one) if the classroom is in use on that Schedule.
The thing is that I need to see first if in the scheduled time there is another class and then if there is a class, see if the classroom is used.