Updated in book: def insert_numbers(): form = SQLFORM <http://web2py.com/book/default/docstring/SQLFORM>(db.numbers) if form.accepts(request <http://web2py.com/book/default/docstring/request>.vars, session <http://web2py.com/book/default/docstring/session>, onvalidation=my_form_processing): session <http://web2py.com/book/default/docstring/session>.flash = 'record inserted' redirect <http://web2py.com/book/default/docstring/redirect>(URL <http://web2py.com/book/default/docstring/URL>()) return dict(form=form)
2010/11/22 António Ramos <ramstei...@gmail.com> > Chapter 7 > Topic On validation line 16 > ":" missing!!! > > > > 2010/11/22 cjrh <caleb.hatti...@gmail.com> > > On Nov 22, 7:57 pm, António Ramos <ramstei...@gmail.com> wrote: >> > In Web2py book, page 297 ,line 16 of code. Missing ":" >> >> I don't have my hard-copy of the book handy, could you specify the >> place in the online book? >> >> http://web2py.com/book > > >