selectionLimitMessage

Type: string

Specifies the message to display to the user in an alert box when they attempt to select too many contacts. Ignore it to use the default message: “Sorry, you cannot select more contacts”. Has no effect unless used with selectionLimit.

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 selectionLimitMessage options like so:

cloudsponge.init({
  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.