Type: integer or function

When defined, limits the number of contacts that can be selected in the list. If the value is a function, the function is called and the return value should be an integer representing the limit on the UI.

For example, you might want to customize the way the Choose your contacts list behaves by hiding the “Select All/None” link and limiting the maximum number of contacts that can be selected. You would apply the displaySelectAllNone, selectionLimit and optionally selectionLimitMessage options like so:

  displaySelectAllNone: false,
  selectionLimit: 5,
  selectionLimitMessage: "You may only select 5 contacts."

Try CloudSponge for free in your
testing environment

Get Started

Have a questions or prefer a guided tour?
Schedule a consultation with our Founder.