+ Start a Discussion

Count and Limit Number of Multi-Select Options

Is there a way to write a validation rule that only allows a specific number of options to be chosen in a multi-select field?  We are using a field on multiple record types, and on one of the record types the requester can choose as many as he/she wants.  On the other, we would like to limit it.  Can this be done?


If it helps ... in Lotus Notes the formula was @Elements ...


No, you can't do that with a validation rule, there just aren't the functions available to make it happen.  You'll have to do it with an Apex trigger.