By design the dropdown is only created on single requires, not lists
of them.

But you only need IS_IN_SET in this case, the field can not be empty
unless that is one the options in the set.


On Oct 13, 6:04 am, "Michael - afewtips.com" <afewt...@gmail.com>
wrote:
> Hi,
> I am trying to use 2 different criteria but when I do, the drop down
> list doesn't show up any longer.
>
> SQLField('field','string',requires=[IS_NOT_EMPTY(),IS_IN_SET
> (['Val1','Val2','Val3'])])
>
> A couple of examples I saw used this format.
>
> Is this the correct syntax?
>
> Thanks
> Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to