well, either way this should work
im assuming you are submitting the form data to either a file or a database, create a varible that adds to a total value stored in either medium, and once a max is reached, rather then write the form data, display an error that says the max submits has been reached...