You can customize the widget: db.table.field.widget=lambda a,b:StringWidget.widget (a,b,_class='yourclass')
On Jun 21, 3:59 pm, "mr.freeze" <[email protected]> wrote: > How can I append a class to one of the fields in a SQLFORM ? I would > prefer to do it when the form is generated and not with jQuery on > document.ready. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

