How can I put a limit to the number of items that are selected on a form?