[web2py] Grouping Fields in Form. - Dict Ordering

2011-06-24 Thread David J.
I tried making a dict user_info = {'username':'Username','password':'Password'} billing_info = {'field_name':'Label','street':'Street','city':'City','state':'State',etc..} when I display it seems the dict does not keep the order? So when I display billing it shows some random order like state,

[web2py] Grouping fields

2010-10-24 Thread Massimiliano
Hello, is there a simple way to group fields? I have a big table with about 70 fields and I want to group them in the view in some tabs. How can I group them? What I thought is to use table inheritance, so that I have my groups already formed in "virtual" table defs and the db def is also more