One follow-up question:
More generally, if a controller action returns a form object to the view, how does the view renders the fields/variables in that form? Does the rendering depend on web2py.css and/or web2py.js? If so, does it mean that I have to manually set the variables (such as form.vars.var1, etc) to the individual fields if I use custom HTML page with custom CSS layout?

