Yes, unfortunately the book appears to be out of date with regard to formstyle.
On Friday, August 21, 2015 at 4:50:08 PM UTC-4, Paolo Amboni wrote: > > Interesting!! Is much more than i can understand from the manual. > I can set formstyle="bostrap3_horizontal" or "bootstrap3_vertical" > Thanks!!! > > Il giorno venerdì 21 agosto 2015 16:41:09 UTC+2, Anthony ha scritto: >> >> If no "formstyle" argument is provided, SQLFORM uses the value in >> response.formstyle. In the welcome app, that value is set in the db.py >> model file: >> https://github.com/web2py/web2py/blob/master/applications/welcome/models/db.py#L35. >> >> The value itself is stored in /private/appconfig.ini ( >> https://github.com/web2py/web2py/blob/master/applications/welcome/private/appconfig.ini#L18) >> >> and is set to "bootstrap3_inline". >> >> Anthony >> >> On Friday, August 21, 2015 at 10:06:45 AM UTC-4, Paolo Amboni wrote: >>> >>> I was just experimenting different styles and i came across this >>> strange behaviour: >>> if i put the formstyle='table3cols' the form appear different than >>> without it! >>> So what is the default value? >>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.