Hi Anthony. Didnt think of the mixed case but it makes sense. getvars on a post could be used to indicate an app state at a given time for example.
Please allow me some considerations: - The only case request.vars could be a problem would be when there are variables with the same name on both methods. On this case i dont know which one will be overwritten, the get var most likely. - The form discards extra variable names not declared for processing, so including get vars should not affect post processing, besides when post and querystring vars collides. - If the form was not meant to process get vars, implementing the functionality would not break compatibility. This would be easy since request.get_vars and post_vars should be processed/validated the same way when the form uses either methods. I have made and test the changes and everything is working fine so far. - The form would do type checking. It does not make sense to pass rooms = "asd" when it expects an integer. or declare field type "integer" and IS_INT_IN_RANGE and so on for every Field on our app. - The form will detect the variables to test against when _method="get" is passed as parameter. It would be easy to use request.get_vars/post_vars instead request.vars to prevent the issues you mention. - The form wont auto generate an id field when the adapter is NullAdapter (the one used when Fields does not belong to any table, DAL(None)). Didnt know about those libraries (will have a look) but i think web2py has all the tools needed to perform these operations in an elegant and easy way. With a little bit of refinement it could be even easier or avoid repetition which is what im trying. This would also simplify our models and form declarations. Thank you very much for your unvaluable support and the links. King Regards. -- 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.

