On 10 April 2011 23:42, niknok <[email protected]> wrote:
> This might sound too basic, but I couldn't find out how to display extra
> text in across the width of the whole form table.
>
> Right now, I do it this way (which only displays in the input column) but I
> wonder what's the web2py way?
>
> form=SQLFORM.factory(
> Field('instruction','text', writable=False, default='Extra text to
> display'),
> Field('f1', 'string'))
>
>
What I do is to use a custom form layout and handle the extra text in the
view. Check the Book:
http://web2py.com/book/default/chapter/07?search=custom+form#Custom-forms.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord! His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
2 Pet. 1:2b,3a