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

-- 



Reply via email to