Dave Newton wrote:
> Adam Lipscombe wrote:
>   
>> OK I could validate the number selected in the actionform or in javascript
>> but I would really like to tell the combo box to only allow N selections.
>>   
>>     
> AFAIK this is completely browser-controlled as it's a standard HTML
> select tag. You would need to use JavaScript.
>   

Whoops, meant to add that you could validate server-side by looking at
the length of the array and writing a custom validator (one may already
exist for this; I don't recall).

But I don't believe that HTML supports a "max number of selections"
attribute.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to