Niphlod
unread,Oct 31, 2010, 2:17:39 PM10/31/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
hello, when you define a field in a table as a decimal(x,y) , the form
widget renders it as an <input class="decimal(x,y)" .../> .
I'm not perfectly sure that before worked right, because I noticed the
behaviour writing a letter accidentally inside a field, but I guess
before class for inputs of type decimal(x,y) would be simply rendered
as "decimal".
the current web2py_ajax checks for "decimal" as a class with the
following snippet
----
jQuery('input.double,input.decimal').keyup()
-----
and in this way pre-validation does not work.
Niphlod