[web2py] Re: SQLFORM onvalidation not working

2013-10-27 Thread Anthony
How are you determining whether my_form_processing is getting called? On Sunday, October 27, 2013 10:05:17 AM UTC-4, Remco K wrote: Hi all, I have a SQLFORM with an onvalidation on the form.accepts(), but it's not working. It skips the onvalidation function... Here is what i try (or just

[web2py] Re: SQLFORM onvalidation not working

2013-10-27 Thread Remco K
Hi Anthony, By setting a breakpoint for the debugger and work with print bla :) -- 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

[web2py] Re: SQLFORM onvalidation not working

2013-10-27 Thread Remco K
I've found that it's probably not a bug in Web2py. Problem is that i use a datetime picker in my view, and the format of it is not valid a datetime format for Web2py to store it in the DB. So Web2y send from the db.py a message '' enter date and time as 1963-08-28 14:30:59. What is used to do