Second question solved. About input length css has no effect. SQLFORM(onvalidation is executed before or after inserting row?
On 8 Ott, 17:23, Thadeus Burgess <thade...@thadeusb.com> wrote: > massimo, > > On my machine locally, web2py_ajax.html seems to overwrite any length > settings put into css.. > > The jQuery commands that change the length need to be either commented out > or removed. > > -Thadeus > > > > On Thu, Oct 8, 2009 at 8:07 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > You should set it using css. For a table "table" and a field "field" > > the id of the input field is > > > "#table_field" > > > you should be able to do something like this in the page > > > <style> > > input #table_field { size: 5 } > > </style> > > > On Oct 8, 8:01 am, leone <handja...@gmail.com> wrote: > > > Two questions: > > > 1) how can I set the length of an html input field generated by > > > SQLFORM? They have all the same size. > > > 2) It needs same commit() using SQLite? My submits seem to generate > > > no rows. > > > No need for commit. Do you have form.accepts(...)? Hard to tell the > > problem without looking at the action. > > > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---