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

Reply via email to