Hello w2p users,

there have been some reports about "user is tampering with form" errors 
while working with keyed tables.

When working with forms (FORM, SQLFORM, etc.) the primarykey field or 
fields *MUST* be part of the request in order to avoid the error message.
This means that you can either:

1) Have the primarykey fields in the request.vars

2) Add them via form hidden fields (special care should be exercised with 
custom forms).
Note that
  db.table.primarykeyfield.writable = False 
falls under this case, since the primary key field will not be in the form.

Hope this helps,
Denes




-- 
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/groups/opt_out.

Reply via email to