Because onfailure
def validateTerms(form):
if form.vars.terms != 'agree':
form.errors.terms = 'You must agree to the terms.'
must be
def validateTerms(form):
if request.vars.terms != 'agree':
form.errors.terms = 'You must agree to the
No, form.vars and request.vars both work the same there. (Should I be
using request instead anyway?) The internal error stems from adding
'terms' to form.errors, which then gets looked up as if 'terms' is a
field in my table, which it's not. Look at sqlhtml.py line 1042.
So am I doing this in a
Please open an issue in google code and I will fix this asap.
On Apr 14, 8:56 am, Brian Will brian.thomas.w...@gmail.com wrote:
No, form.vars and request.vars both work the same there. (Should I be
using request instead anyway?) The internal error stems from adding
'terms' to form.errors,
Done. Thanks Massimo, and for all your hard work.
On Apr 14, 7:29 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Please open an issue in google code and I will fix this asap.
On Apr 14, 8:56 am, Brian Will brian.thomas.w...@gmail.com wrote:
No, form.vars and request.vars both
4 matches
Mail list logo