actually it is 350px but 50 typed chars... -wj
On Fri, Nov 7, 2008 at 10:22 AM, Wes James <[EMAIL PROTECTED]> wrote: > On Fri, Nov 7, 2008 at 10:17 AM, mdipierro <[EMAIL PROTECTED]> wrote: >> >> requires=IS_LENGTH(256) >> >> this is automatic for SQLFORMs if a SQLField(....,length=256) >> >> On Nov 7, 11:08 am, "Wes James" <[EMAIL PROTECTED]> wrote: >>> How do you set on a per field basis the maxlength - i.e., the total >>> text someone can type in a form input field. Can this be done in >>> db.py? >>> >>> -wj > > > I have: > > SQLField("last_name","string",length=30,default="") > > but it is about 350 length on the web page. > > -wj > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---