The "zero" option is intended for single-selection drop-downs to allow the user to make no selection. This is not necessary for multiple-selection inputs because it is already possible to make no selection simply by not clicking/checking any of the options.
Anthony On Wednesday, January 30, 2013 5:41:16 AM UTC-5, Thomas Bellembois wrote: > > Hello web2py community, > > I have a multiple select widget: > > db.PRODUCT.class_of_compounds.requires=[IS_EMPTY_OR(IS_IN_DB(db, > db.CLASS_OF_COMPOUNDS.id, label=db.CLASS_OF_COMPOUNDS._format, > multiple=True, sort=db.CLASS_OF_COMPOUNDS.label, zero='choose'))] > > The "zero" field does not appear. If I change multiple from True to > False it appears. > I have probably missed something in the documentation... > > How can a user then unselect an item ? > > Regards, > > Thomas > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

