I have the following code
def test(): # gets fired for first page load, it loads the filter
applicants form on the left side
form = SQLFORM(db.auth_user, request.args(0), buttons=[], separator = '
', formstyle = 'divs', deletable=True, fields = ['test1', 'test2',
'test3'],upload
=URL(r=request, f='download'), showid = False)
# this line of code adds a test dropdown box to the filter applicants
form, because it is not part of the auth_user field, it needs to be added
separately
test0 = TR(LABEL('test 0'),
INPUT(_type='text', _name='test0', requires=IS_IN_DB(
db, db.tiers.type)))
form[0].insert(1,test0) # 1 is the position where it will be added
# end of inserting code
the problem is the input box wont show a dropdown box as expected but
instead only a text box, is it a bug or am I missing something
--