print dir(form) - to get variables/methods print dir(form.attributes) - dict of attributes (formname, id, etc.)
Gotta love the dir command. -Thadeus On Tue, Sep 22, 2009 at 4:30 PM, Arvind <arvind.ran...@gmail.com> wrote: > > Hello, > > I have been going through the book, but i dont see a list of complete > form objects. > > Where can i find a list of all the objects. > With hit and trial, i managed to get form.formname. > But how can I get a complete list of the form objects/attributes ? > > > > thanks > Arvind > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---