You're right, of course.I, too, get frustrated by people asking the wrong 
question, and now I'm doing it...

I have a form that requires a 'from_date' and a 'to_date', which is 
currently implemented using two fields. I like the idea of using the 
'daterangepicker' tool, particularly the predefined date ranges 
(http://www.daterangepicker.com/#ex4). Within the js that implements the 
predefined ranges, it's relatively simple to update two hidden fields (my 
from_date and to_date) without worrying about the display format in the 
single daterangepicker text box. However, I think it might be easier just 
to parse the daterangepicker box anyway.

Thanks for the pointer.

-- 
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.

Reply via email to