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
- [web2py] Adding fields to the default register ... David J.
- Re: [web2py] Adding fields to the default ... [email protected]
- Re: [web2py] Adding fields to the defa... David J.
- Re: [web2py] Adding fields to the ... Anthony
- Re: [web2py] Adding fields to ... Anthony
- Re: [web2py] Adding fields to ... David J.
- Re: [web2py] Adding field... Anthony
- [web2py] Re: Adding f... Massimo Di Pierro
- Re: [web2py] Re: ... Vinicius Assef
- Re: [web2py] Re: ... Anthony
- Re: [web2py] Re: ... Vinicius Assef
- Re: [web2py] Re: ... Bruno Rocha
- Re: [web2py] Re: ... Bruno Rocha
- Re: [web2py] Re: ... Vinicius Assef
- Re: [web2py] Re: ... Anthony
- Re: [web2py] Re: ... David J.
- Re: [web2py] Re: ... Bruno Rocha
- Re: [web2py] Re: ... Anthony
- Re: [web2py] Re: ... Anthony
- Re: [web2py] Re: ... Bruno Rocha

