form.vars should work. Can you show more code? Note, form.request_vars is simply a copy of the original request.post_vars, so not equivalent to form.vars.
Anthony On Tuesday, January 15, 2013 10:17:08 AM UTC-5, Ramos wrote: > > hello reading the book online i tried the code > > > def my_form_processing(form): > c = form.vars.a > > form.vars.b > if c < 0: > form.errors.b = 'a' > else: > form.vars.c = c > > > > but form.vars was empty > > to access my form vars i changed to form.request_vars > > *Is the book wrong?* > > Thank you > António > --