Hi I have a problem with filed controll i have this Field

            Field('nome',),type="string",length=50,requires=IS_NOT_EMPTY()),
I generate the table with sqlform grid and when i add new element and try 
to compile requires is not empty is active not length=50 if i eliminate 
requires is not empty i have that length work...How does to have the two 
controll together?

I have another important question, If I send the data throught Javascript 
and insert this data with a query for example 
db(db.nome.id=2).insert(nome=request.vars.nome) there is a exception if the 
user insert too text?

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