SQLFORM(db.my_table, fields=['name', 'address', 'phone'], lablels=['Your Full Name', 'Street Address', 'Phone (with area code)'])
See gluon.sqlhtml.SQLFORM at http://mdp.cti.depaul.edu/examples/static/epydoc/index.html On Sat, Nov 8, 2008 at 12:08 PM, Wes James <[EMAIL PROTECTED]> wrote: > > How do I change the field text. I.e., a db field might be rank in the > db, but I need it to be something else on the web page form (plus some > fields i need to add some explanatory text about what the field is > for.) > > -wj > > On Fri, Nov 7, 2008 at 11:18 PM, mdipierro <[EMAIL PROTECTED]> > wrote: > > > > Not necessarily. Look at the generate HTML. every item has an ID. You > > can use CSS to move each piece where you want. > > > > http://www.w3schools.com/Css/pr_class_position.asp > > > > On Nov 7, 10:18 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > >> What the subject says?? Do I have to create my own form to change these? > >> > >> -wj > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---