Field('whatever')

means really

Field('whatever', 'string', length=255)

it gets a default "requires" that resembles IS_LENGTH(maxsize=255)

if you need more of that, use length=morethan255

On Wednesday, April 9, 2014 8:54:40 AM UTC+2, Austin Taylor wrote:
>
> I'm creating a grid using grid=SQLFORM.smartgrid(db.mydatabase, 
> user_signature=True)
>
> when I try to update one of the fields using the edit button I get enter 
> from 0 to 255 characters. The field already has over 255 characters in it 
> because its in the database, but I cannot add extra characters to the 
> field. 
>
> Any help is appreciated. I looked all over for the error "enter from 0 to 
> 255 characters"
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to