How can I set the maximum limit of choices a user can select in a Multiple Choice field?

How can I set the maximum limit of choices a user can select in a Multiple Choice field?

Lets say you have an Event Registration form and you might want to limit the number of sessions or activities they can choose to ensure that everyone has an opportunity to participate in a reasonable number of events.  In general, setting a maximum limit on choices is valuable when you want to balance user flexibility. The specific limit can depend on your form's context and the goals you want to achieve with the form.
If you have want to limit the number of choices a user can select in a Multiple Choice field in your form,
  1. In your form builder, drag and drop the Multiple Choice field from the Basic Fields section on the left.
  2. In the Properties of the field, enter the choices you wish to provide with to users.
  3. Under Choice Limit, set the maximum limit to the required number.

    Multiple Choice properties
When a user selects more choices than the maximum limit set, the following error message is shown.

Error message