Closed (fixed)
Project:
Hierarchical Select
Version:
5.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Jan 2008 at 00:58 UTC
Updated:
2 Feb 2008 at 16:31 UTC
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
Comment #1
wim leersThis 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.
Comment #2
wim leersImplemented.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.