JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
To accomplish this, I would recommend using the Inventory widget:
This will allow you to set a total amount of available slots for each class. That total will decrease each time someone submits the form with that selection. When there are none left, the widget will no longer allow that selection to be made.
If you have any further questions, let us know and we will be happy to help.