Closed (won't fix)
Project:
Profile Checkboxes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 04:57 UTC
Updated:
18 Jul 2011 at 18:33 UTC
I'd like to have the multi-select, but with an exact (or max) of 5 selections. Is this a simple thing to add?
Comments
Comment #1
johnhanley commentedI don't foresee adding this to the module itself, but this can be easily achieved with a custom validation handler via hook_form_alter. You can then count the number of options selected and set a form error accordingly.
Comment #2
johnhanley commented