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 <[email protected]> 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

