Re: [web2py] Working with custom form

2012-07-04 Thread Richard Vézina
Hmm! You seem to not use the web2py view tamplate system... You don't need your custom form is you just create a register.html file in the views/YOURCONTROLLER. All you have to write in your register.html file is {{=form}} and web2py will generate the html code of the form and render a html page

[web2py] Working with custom form

2012-07-03 Thread Chris
I've just started with web2py, so this might be obvious but I struggle to see how it works: I have a controller action which returns a form: def register(): return dict(form=auth.register()) I also have a view 'register.html' for this action, which is *self-contained * as it does NOT use a