You don't say how you are creating the form. Assuming you are using SQLFORM then the label is in the Field definition: http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-constructor
On Sunday, May 8, 2016 at 9:48:28 AM UTC-4, R U wrote: > > I am fairly new to all things coding and the learning has been slow. My > question is how to insert a label or legend in a form when making the form > from the model. > If that is not possible I will need to make the form in the controller. > the problem I run into there is how to create a boolean. The example in > the book only shows how to make input fields. > > My form has a section for dates and a couple groups of check-boxes and > would greatly benefit from some labels. > > thanks Rob > -- 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.