I see, but it isn't intuitive, right? Why must I adjust properties of something (the form itself) doesn't exist yet?
-- Vinicius Assef. On Wed, Jan 26, 2011 at 3:03 PM, Anthony <[email protected]> wrote: > On Wednesday, January 26, 2011 10:36:06 AM UTC-5, viniciusban wrote: >> >> Just a doubt: why not? >> >> Is the layout generated in form create time or in show time? >> >> In my opinion Anthony's way to understand is more intuitive than yours: >> 1) First I create the form. >> 2) After that I set its properties. >> >> Am I wrong? > > form=auth() ultimately calls SQLFORM(), which generates the actual HTML to > display the form, so the formstyle must be known before the call to SQLFORM. > ('formstyle' is actually an argument of SQLFORM). > > Anthony

