[web2py] Re: How to disable the calendar widget?

2015-10-10 Thread Edward Shave
Wow! Spoilt for choice ;o) Thanks for that Anthony. I continue to be impressed by the standard of replies 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 Issu

[web2py] Re: How to disable the calendar widget?

2015-10-09 Thread Anthony
We should make this easier to configure, but here are a few more options that don't require forking a framework file: - The calendar/time widget is only activated for inputs with classes "date", "datetime", or "time", so, you can just use a custom widget that excludes those classes. Th

[web2py] Re: How to disable the calendar widget?

2015-10-09 Thread Edward Shave
> > >> Thanks a bunch for that. No way would I have figured that out on my own. Thanks again, Ed -- 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 re

[web2py] Re: How to disable the calendar widget?

2015-10-08 Thread Niphlod
you need to override event_handlers(). Basically just copy the event_handlers function to your own with $.web2py.event_handlers, and rewrite the part that attaches the calendar to input.date, input.datetime and input.time . There's an example on https://github.com/niphlod/cs_monitor_plugin/bl