Hi I have a controller function: def settings():
form = SQLFORM(db.settings) if form.accepts(request.vars,session): response.flash = 'form submitted' elif form.errors: response.flash = 'form has errors' else: response.flash = 'please fill out the form' return dict() and a view: {{extend 'layout.html'}} <h1>Settings</h1> <form> Title:<input id='settings_title' name='title'/><br /> <input type='submit' /> </form> but whenever I display the form and hit submit, I only ever get 'please fill in form' - am I doing something really stupid. thanks Portly --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---