[web2py] Re: No-dropdown widget?

2017-12-03 Thread Dave S
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

[web2py] Re: No-dropdown widget?

2017-12-03 Thread Massimo Di Pierro
instead of (the default) requires=IS_IN_DB(db, table) do requires=[IS_IN_DB(db, table)] 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

[web2py] Re: Cascading dropdown widget

2010-09-04 Thread mr.freeze
You don't need to save the city and state since they are looked up from existing tables. But if you really want to, request.vars will contain state_name and city_name values that you are looking for. On Sep 4, 5:21 pm, elfuego1 elfue...@gmail.com wrote: Hi, I've implemented on my page