On Sep 30, 8:39 pm, Anthony <[email protected]> wrote:
> On Friday, September 30, 2011 3:48:53 PM UTC-4, DenesL wrote:
>
> > ...requires=[IS_IN_SET(...), IS_NOT_EMPTY(), ...]
>
> Are you saying that the above currently works but simply suppresses the
> widget?

Well... it actually works! in theory it should not AFAIK.
But it has to be built with the IS_IN_SET first.
If you do:
...requires=[IS_NOT_EMPTY(), IS_IN_SET(...)]
then it fails saying the widget can not find the options.

> In that case, would it be possible to manually add the widget back?
>
> ...requires = [IS_NOT_EMPTY(), IS_IN_SET(...)]  # widget won't show by
> default due to the list
> ...widget = SQLFORM.widgets.multiple.widget  # manually specify the multiple
> widget

Not sure how one would accomplish this.

Reply via email to