Adding functionality to limit the number of registrants in form module