SharePoint Calendar Task

Closed - This job posting has been filled and work has been completed.

Job Description

I have an Infopath form that submits to a library and SharePoint Calendar. I need a task created to limit the number of users registering for a course in 1 day. only 10 sets are available, so I need the calendar field to be disabled or a message indicating classes are booked for that day.