I am looking for a generic course registration form that allows me to specify a course limit for each course and when the limit is met, disable that course from being selected (or surpress selection from the form).

For example, if I have three courses available, each with 10 seats, I'd like the form to disable a course choice once the tenth person enrolls.

Extra credit if the form tells me how many are already enrolled before I enroll!