[web2py] REF: SQLFORM in HTML

2013-02-27 Thread Teddy Nyambe
I am following the book example with modified tables, the form is not being processed in the controller, what could be wrong with my code below: *db.py [Model]* db.define_table(address, Field(street, requires=IS_NOT_EMPTY()), Field(suburb, requires =

Re: [web2py] REF: SQLFORM in HTML

2013-02-27 Thread Philip Kilner
Hi Teddy, On 28/02/13 06:51, Teddy Nyambe wrote: I am following the book example with modified tables, the form is not being processed in the controller, what could be wrong with my code below: I think it's the way you have constructed your form: - *add_address.html [View]* {{extend

Re: [web2py] REF: SQLFORM in HTML

2013-02-27 Thread Philip Kilner
Hi Teddy, Ignore my last - I'd overlooked that you were using session=None. I'll drink more coffee! N.B. Using SQLFORM that way turns off some valuable protection. As your other reply suggests, the lack of a form action may be the issue. -- Regards, PhilK 'a bell is a cup...until it is