[web2py] Re: FORM SELECT

2012-04-02 Thread Anthony
See http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910. Also, SQLField() has been deprecated in favor of Field(). Anthony On Monday, April 2, 2012 2:38:51 PM UTC-4, visuallinux wrote: Dear All. I have

[web2py] Re: FORM SELECT

2012-04-02 Thread Cliff
May I make a suggestion? Your model will be simpler like this ... db.define_table('province', SQLField('name', 'string', length=50, required=True, default=None)) db.define_table('cities', SQLField('name', 'string', length=50, required=True),