I cannot reproduce the problem. Can you please post the model?

On Jul 19, 11:40 am, Jean-Guy <jean...@gmail.com> wrote:
> Hello,
>
> I got "value not in database" helpers message when I select more then
> one entry of the dropbox... The problem is coming from the web2py recent
> update 1.80.1, 1.81.4. The same app with 1.79.2 no problem (I package
> app from 1.80.1 and install it in 1.79.2).
>
> Here my function code :
>
> db.atable.field2.widget=multiselect_widget
> db.atable.field2.requires=\
>      IS_IN_DB(db,'auth_user.id','%(first_name)s %(last_name)s
> (%(id)s)',multiple=True)
> form = crud.create(db.atable)
>
> If i use this :
>
> #db.atable.field2.widget=multiselect_widget
> db.atable.field2.requires=\
>      IS_IN_DB(db,'auth_user.id','%(first_name)s %(last_name)s
> (%(id)s)',multiple=True)
> form = crud.create(db.atable)
>
> It works, but don't have the widget dropbox with check boxes...
>
> Thanks.
>
> Jonhy

Reply via email to