look into jquery $(...).class(...)

On Apr 23, 3:19 am, Joe  Barnhart <joe.barnh...@gmail.com> wrote:
> I found out a bit more regarding the problem.  It seems that there is
> an ajax field validator running which requires the input be suitable
> for a "double" variable.  The SQLFORM sets the "class" attribute of
> the field to "double" because that is the underlying data type.
>
> Even though my special validator is able to take strings and render
> them into a double, it never gets the chance because the ajax layer is
> rejecting all characters other than [0-9] and [.].  I need to override
> the "class" attribute on this particular field when rendered by
> SQLFORM.
>
> In the meantime, I am using a manually-created FORM to get by.
>
> -- Joe B.
>
> On Apr 22, 10:49 pm, Álvaro Justen [Turicas] <alvarojus...@gmail.com>
> wrote:
>
> > --
> >  Álvaro Justen
> >  Peta5 - Telecomunicações e Software Livre
> >  21 3021-6001 / 9898-0141
> >  http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to