It will be nice to specify in configuration of input for specific form the maximal number of selected items (for multiple selects).

In other words, administrator can define that user must be able to select not more than N items for the "page category" field when creating a node with that field.

Comments

wim leers’s picture

This quickly gets tricky if the save lineage option is enabled. Suppose you've set it to "max 2 selected items", but your hierarchy is 3 levels deep and you select something from the deepest level, then you've actually selected 3 items.

I suppose you really mean the maximum number of entries in the dropbox (that's how I call that thing where all selections are listed).

Since this is not too difficult, patches are definitely accepted.

wim leers’s picture

Title: Ability to speicfy the maximal number of selected items » Ability to specify the maximal number of selected items
Assigned: Unassigned » wim leers
Status: Active » Fixed

Implemented.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.