[web2py] Re: Create a simple drop down list

2011-11-20 Thread EdgarAllenPoe
Thanks again Anthony, Your help has been clear and concise. I have what I need now. About the error thing. Just to be clear where I am working from. I am using the online editor at: http://127.0.0.1:8000/admin/default/edit/XxXxxx/models/db_wizard.py And for a test I just removed one of

[web2py] Re: Create a simple drop down list

2011-11-20 Thread EdgarAllenPoe
to db.t_ab_distribution.f_distributionname ###contents of drop downlist or am I doing something else wrong? On Nov 20, 6:47 am, EdgarAllenPoe tomstouts...@gmail.com wrote: Thanks again Anthony, Your help has been clear and concise.  I have what I need now. About the error thing.  Just to be clear where I am working from

[web2py] Create a simple drop down list

2011-11-19 Thread EdgarAllenPoe
Can some one show me what the code would look like to accomplish the following: Create a drop down list for field A that will be populated by field B A.db.t_ab_recipient.f_distribution_name B.db.t_ab_distribution.f_distributionname Any help would be appreciated.

[web2py] Re: Create a simple drop down list

2011-11-19 Thread EdgarAllenPoe
', db.t_ab_distribution)) That will automatically add an IS_IN_DB validator to f_distribution, and it will display the f_distributionname in the list due to the format='%(f_distributionname)'. Anthony On Saturday, November 19, 2011 9:05:21 AM UTC-5, EdgarAllenPoe wrote: Can some one show me