On Sunday, December 3, 2017 at 9:32:36 AM UTC-8, Massimo Di Pierro wrote:
>
> instead of (the default)
>
>      requires=IS_IN_DB(db, table) 
>
> do
>
>      requires=[IS_IN_DB(db, table)]
>
>
Thank you, that works nicely (once I got rid of my typos  =8-9=0 ).

/dps

 

> On Sunday, 3 December 2017 03:53:41 UTC-6, Dave S wrote:
>>
>> I defined a new table, where a field is a list reference to another 
>> table.  Going into admin to populate the table's first few entries, the 
>> field with the references has a huge dropdown (thousands!)  What widget 
>> should I specify to not get a dropdown in admin; I probably also don't want 
>> a dropdown if I make a non-admin form for this table.
>>
>> Thanks.
>>
>> /dps
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to