[web2py] Re: SQLFORM widgets and drop-down filtering

2018-04-09 Thread Dave S


On Monday, April 9, 2018 at 7:17:42 AM UTC-7, Leonel Câmara wrote:
>
> I would just add some javascript to filter the state options when the year 
> changes. There's no widget specifically for this, you could make a custom 
> one, but it would always have to include javascript to do basically the 
> same thing, so it's not worth it to make a custom widget if you will only 
> use it here.
>
>
Okay, that seems reasonable.

/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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: SQLFORM widgets and drop-down filtering

2018-04-09 Thread Leonel Câmara
I would just add some javascript to filter the state options when the year 
changes. There's no widget specifically for this, you could make a custom 
one, but it would always have to include javascript to do basically the 
same thing, so it's not worth it to make a custom widget if you will only 
use it here.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.