Is there a way to limit the number of selections on the Multiple Selection widget?

  • Profile Image
    dwende8
    Asked on August 10, 2017 at 02:42 PM

    I'm looking for something similar to "Checkbox in Dropdown", but I don't want to see the checkbox nor see the entire list while choosing.  l like the look of the "Dropdown" widget, but need to have a limit for the number of selections.

  • Profile Image
    Jim_R
    Answered on August 10, 2017 at 03:35 PM

    What's the exact name of the dropdown widget that you're referring to?

    In the interim, since you're already using the Checkbox in Dropdown Widget on your form, you may want to use these CSS codes to make it appear the way you want it to:

    1. No checkboxes

    2. And doesn't show the entire list

    CSS:

    .selecter .selecter-options.scroller {

        overflow-y: scroll !important;

        height: 200px;

    }

    .selecter-item label {

        display: none;

    }

    Complete guide: How-to-Inject-CSS-Codes-to-Widgets