[Html-widget] multiple select with constrain_options

Carl Franks fireartist at gmail.com
Mon Jan 15 09:10:35 GMT 2007


On 14/01/07, Hal Finkel <half at halssoftware.com> wrote:
> Hello,
>
> It seems that creating a multiple-item Select widget with
> constrain_options(1) does not allow for none of the items to be
> selected. Is this the intended behavior?

Is it causing a problem?

If no items are selected, no value for the Select will be posted.
As long as you haven't also added a Required constraint, there should
be no error.

If you want to allow no items to be selected, don't use a Required constraint.

Carl



More information about the Html-widget mailing list