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
-~----------~----~----~----~------~----~------~--~---

Reply via email to